ChartDirector 5.1 (.NET Edition)

Axis.setOffset


Usage

[VB] Public Sub setOffset(x As Integer, y As Integer)
[C#] public void setOffset(int x, int y);

Description

Sets the positional offset of the axis.

By default, ChartDirector draws horizontal axes at the top/bottom borders of the plot area, and vertical axes at the left/right borders of the plot area.

This method can be used to shift an axis from its standard position.

Arguments

ArgumentDefaultDescription
x(Mandatory)The x offset in pixels.
y(Mandatory)The y offset in pixels.

Return Value

None