ChartDirector 5.1 (.NET Edition)

Axis.setTitlePos


Usage

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

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