ChartDirector Ver 3.1 (PHP Edition Edition)

DataSet


The DataSet class represents data sets. DataSet objects are created by using Layer.addDataSet. Existing DataSet objects can be retrieved using Layer.getDataSet.

MethodInheritedDescription
setDataName(Self)Set the name of the data set.
setDataColor(Self)Set the colors used to draw the data set.
setDataSymbol(Self)Use one of the built-in symbols as the graphics symbol to plot the data points.
setDataSymbol2(Self)Load an image from a file and use it as the graphics symbol to plot the data points.
setDataSymbol3(Self)Use a DrawArea object as the graphics symbol to plot the data points.
setLineWidth(Self)Set the line width of lines when drawing the data set.
setDataLabelStyle(Self)Enable data labels and set their styles.
setDataLabelFormat(Self)Set the data label format for the data set.
setUseYAxis2(Self)Determine if the primary or secondary y-axis should be used when drawing the data set.