ChartDirector 7.0 (ASP/COM/VB Edition)

TreeMapNode.setData


Usage

setData(data [, labels [, colors ]])

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