ChartDirector 6.0 (Ruby Edition)

PieChart.setData


Usage

setData(data [, labels ])

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