ChartDirector 7.1 (.NET Edition)

Axis.setTitle


Usage

[C#]public ChartDirector.TextBox setTitle(string text [, string font [, double fontSize [, int fontColor ]]]);
[VB]Public Function setTitle(text As String [, font As String [, fontSize As Double [, fontColor As Integer ]]]) As ChartDirector.TextBox

Description

Adds 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 representing the axis title. This may be used to fine-tune the appearance of the axis title.