Analyzes a single series of data for a pie chart.
#include <pgchart.h>
short __far _pg_analyzepie( _chartenv __far *env,
char __far * __far *categories, float __far *values,
short __far *explode,shortn );
env | Chart environment variable | |
categories | Array of category variables | |
values | Array of data values | |
explode | Array of explode flags | |
n | Number of data values to chart |
The _pg_analyzepie function analyzes a single series of data without actually displaying the graphic image.
The _pg_analyzepie function fills the chart environment for a pie chart using the data contained in the array values. All arguments are the same as those used in the _pg_chartpie function.
For a discussion of the chart environment and related topics, see “Presentation-Graphics Functions”.
The _pg_analyzepie function returns 0 if there were no errors. A nonzero value indicates a failure.
Standards:None
16-Bit:DOS
32-Bit:None
_pg_chartpie, _pg_defaultchart, _pg_initchart
See the example for _pg_analyzechart.