ChartDirector 7.1 (.NET Edition)

Axis.setTitlePos


Usage

[C#]public void setTitlePos(int alignment [, int titleGap ]);
[VB]Public Sub setTitlePos(alignment As Integer [, titleGap As Integer ])

Description

Sets the position of the axis title relative to the axis.

By default, the axis title will be drawn at the middle of the axis outside the plot area. You may change the location of the title. For example, instead of drawing the y-axis title at the middle of the axis, you may want draw it at the top of the axis.

Arguments

ArgumentDefaultDescription
alignment(Mandatory)The position of the title relative to the axis.
titleGap3The distance between the axis title and the axis in pixels.

Return Value

None