ChartDirector 7.1 (C++ 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)Sets the name of the data set.
getDataName(Self)Gets the name of the data set.
setDataColor(Self)Sets the colors used to draw the data set.
getDataColor(Self)Gets the main color used to draw the data set.
setDataSymbol(Self)Uses one of the built-in symbols as the graphics symbol to plot the data points.
setDataSymbol2(Self)Uses the image from the specified file or resource as the graphics symbol to plot the data points.
setDataSymbol3(Self)Uses a DrawArea object as the graphics symbol to plot the data points.
setDataSymbol4(Self)Uses a custom shape as the graphics symbol to plot the data points.
setSymbolOffset(Self)Offset the symbols in the x and y directions in pixel unit.
getLegendIcon(Self)Gets the CDML representation of the legend icon for the data set.
setLineWidth(Self)Sets the line width of lines when drawing the data set.
setDataLabelStyle(Self)Enables data labels and sets their styles.
setDataLabelFormat(Self)Sets the data label format for the data set.
setUseYAxis(Self)Determine the y-axis to use when drawing the data set.
setUseYAxis2(Self)Determine if the primary or secondary y-axis should be used when drawing 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.