ChartDirector 7.1 (C++ Edition)

PieChart.setData


Usage

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

Description

Sets the data used to draw the pie chart.

Arguments

ArgumentDefaultDescription
data(Mandatory)An array of numbers representing the data points.
labels[Empty_Array]An array of text strings representing the labels of the sectors. An empty array means no sector label.

Return Value

None