ChartDirector 7.1 (C++ Edition)

PyramidChart.setData


Usage

void setData(DoubleArray data, StringArray labels = StringArray());

Description

Sets the data used to draw the pyramid chart.

Arguments

ArgumentDefaultDescription
data(Mandatory)An array of numbers representing the data values.
labels[Empty_Array]An array of text strings representing the labels of the layers. An empty array means no layer label.

Return Value

None