ChartDirector 7.0 (Java Edition)

TreeMapNode.setLabelFormat


Usage

public TextBox setLabelFormat(String format [, String font [, int fontSize [, int fontColor [, int alignment ]]]])

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