ChartDirector 5.1 (PHP Edition)

JsDataSet


The JsDataSet class represents data sets in the Javascript Chart Model. The corresponding server side class is DataSet. JsDataSet objects can be obtained using JsLayer.getDataSet or JsLayer.getDataSetByZ.

MethodInheritedDescription
getDataName(Self)Gets the name of the data set.
getDataColor(Self)Gets the main color used to draw the data set.
getUseYAxis(Self)Gets the y-axis to use when drawing the data set.
getValue(Self)Gets the value of a data point.
getPosition(Self)Gets the positional value of a data point.