gdchart.c

GDChart

object GDChart::__construct(long type)

Create a new GDChart object, specifying the type of graph to generate

bool GDChart::addScatter(double val, double point, long index, long color, long width[, bool clear])

Add scatter element set

bool GDChart::setLabels(array labels)

Add an array of strings to be used as labels for the generated chart.

bool GDChart::setColors(array colors)

Add an array of numbers to be used as colors for the entire set of data.

bool GDChart::setExtColors(array colors)

Add an array of numbers to be used as colors for the individual data items.

bool GDChart::setExtVolColors(array colors)

Add an array of numbers to be used as secondary data individual point plot color.

bool GDChart::setExplode(array colors)

ndicate a list of sections to explode for pie charts

bool GDChart::setMissing(array missing)

Indicate a list of missing sections for pie charts

bool GDChart::addValues(array values[, bool clear])

Add an array of floating point values to be used as the data range for the graph.
Unless clear parameter is indicated, each call adds a new set of points.

bool GDChart::addCombo(array values[, bool clear])

Add an array of floating point values to be used as the data range for combo graph.
Unless clear parameter is indicated, each call adds a new set of points.

bool GDChart::out(int width, int height, int image_type[, string filename])

Output chart of width x height size as image_type image to screen or specified filename.


Table of Contents

Generated at: Thu, 02 Feb 2006 16:10:36 +0100