ChartDirector 7.0 (Python Edition)

TreeMapNode.setLabelFormat


Usage

setLabelFormat(format [, font [, fontSize [, fontColor [, 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