ChartDirector 5.1 (PHP 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
Argument | Default | Description |
x | (Mandatory) | The x offset in pixels. |
y | (Mandatory) | The y offset in pixels. |
Return Value
None
© 2014 Advanced Software Engineering Limited. All rights reserved.