ChartDirector 7.1 (C++ Edition)

Sector.setLabelStyle


Usage

TextBox *setLabelStyle(const char *font = 0, double fontSize = 8, int fontColor = TextColor);

Description

Sets the style used to draw the sector label.

To set the label style for all sector labels, use PieChart.setLabelStyle.

See Font Specification for details on various font attributes.

Arguments

ArgumentDefaultDescription
font""The font used to draw the sector label.
fontSize8The font size in points.
fontColorTextColorThe text color for the sector label.

Return Value

A TextBox object representing the prototype of the sector label. This may be used to fine-tune the appearance of the sector label.