ChartDirector 6.2 (.NET Edition)



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


Sets the font style used to for the axis labels.

See Font Specification for details on various font attributes.


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.