ChartDirector Ver 3.0 (Perl Edition)

Axis.setTitle


Usage

setTitle(text[, font[, fontSize[, fontColor]]])

Description

Add a title to the axis.

See Font Specification for details on various font attributes.

Arguments

ArgumentDefaultDescription
text(Mandatory)The title text.
font""The font used to draw the title. If no font is specified, the default is "bold".
fontSize8The size of the font in points.
fontColorTextColorThe color used to draw the title text.

Return Value

A TextBox object that represents the axis title. You may use the methods of this object to fine-tune the appearance of the axis title.