ChartDirector 6.0 (Ruby Edition)

AngularAxis.setLabelStyle


Usage

setLabelStyle([ font [, fontSize [, fontColor [, fontAngle ]]]])

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.