◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ─────Run-Time Library─────────────────────────────────────────────────────── The _pg_chartpie function displays a pie chart for the data contained in the <values> array. Pie charts are formed from a single series of data──there is no multiseries version of pie charts as there is for other chart types. The <explode> array must be dimensioned so that its length is greater than or equal to the <n> argument. All entries in <explode> are either 0 or 1. If an entry is 1, the corresponding pie slice is displayed slightly removed from the rest of the pie. For example, if the <explode> array is initialized as short explode[5] = {0, 1, 0, 0, 0}; the pie slice corresponding to the second entry of the <categories> array will be displayed "exploded" from the other four slices. Return Value The _pg_chartpie function returns 0 if there were no errors. A nonzero value indicates a failure. -♦-