ChartDirector 7.1 (.NET Edition)

TreeMapNode.setData


Usage

[C#]public void setData(double[] data [, string[] labels [, int[] colors ]]);
[VB]Public Sub setData(data As Double() [, labels As String() [, colors As Integer() ]])

Description

Sets the data for the child nodes.

Arguments

ArgumentDefaultDescription
data(Mandatory)An array of numbers for the values of the child node. This array can be empty if the child nodes contains other child nodes. In this case, the value of a node will be determined as the sum of the values of its child nodes.
labels[Empty_Array]An array of text strings for the node labels.
colors[Empty_Array]An array of colors to be used as the fill colors of the child nodes. An empty array means the colors are determined by the prototype node (See TreeMapChart.getLevelPrototype).

Return Value

None