ChartDirector 6.0 (Perl Edition)

Axis.setOffset


Usage

setOffset(x, 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