ChartDirector 7.1 (C++ Edition)

AngularAxis.setLabelStyle


Usage

TextBox *setLabelStyle(const char *font = "bold", double fontSize = 10, int fontColor = TextColor, double fontAngle = 0);

Description

Sets the font style used to for the axis labels.

See Font Specification for details on various font attributes.

Arguments

ArgumentDefaultDescription
font"bold"The font used to draw the labels.
fontSize10The font size used to draw the labels in points.
fontColorTextColorThe color used to draw the labels.
fontAngle0The rotation angle of the labels.

Return Value

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