[C#] | public void setData(double[] data [, string[] labels [, int[] colors ]]); |
[VB] | Public Sub setData(data As Double() [, labels As String() [, colors As Integer() ]]) |
ChartDirector 7.1 (.NET Edition)
TreeMapNode.
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
Arguments
Argument | Default | Description |
---|---|---|
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