ChartDirector 7.1 (.NET Edition)

TreeMapChart.getLevelPrototype


Usage

[C#]public TreeMapNode getLevelPrototype(int level);
[VB]Public Function getLevelPrototype(level As Integer) As TreeMapNode

Description

Gets the prototype node for the specified level.

A tree map starts with the root node. The root node contains level 1 child nodes. The level 1 child nodes can in turn contain level 2 child nodes, and so on.

A prototype node is a node that acts as the template for nodes at a certain level. For example, if the level 1 prototype node is configured to use a certain font for labels, all level 1 nodes will use that font as the default for labels.

Arguments

ArgumentDefaultDescription
level(Mandatory)The node level to which the prototype node applies.

Return Value

A TreeMapNode object representing the prototype node for the specified level.