ChartDirector 7.1 (C++ Edition)

TreeMapNode.setLabelFormat


Usage

TextBox *setLabelFormat(const char *format, const char *font = "normal", int fontSize = 10, int fontColor = Chart::TextColor, int alignment = Chart::TopLeft);

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