ChartDirector 7.1 (.NET Edition)

TreeMapNode.setLabelFormat


Usage

[C#]public ChartDirector.TextBox setLabelFormat(string format [, string font [, int fontSize [, int fontColor [, int alignment ]]]]);
[VB]Public Function setLabelFormat(format As String [, font As String [, fontSize As Integer [, fontColor As Integer [, alignment As Integer ]]]]) As ChartDirector.TextBox

Description

Sets the node label format and font style.

Please refer to Parameter Substitution and Formatting on all available format parameters.

Arguments

ArgumentDefaultDescription
format(Mandatory)The format string.
font"normal"The font used to draw the label.
fontSize10The font size used to draw the labels in points.
fontColorTextColorThe color used to draw the labels.
alignmentTopLeftThe alignment of the label inside the node. See Alignment Specification for supported alignment types.

Return Value

None