ChartDirector 7.1 (C++ Edition)
Axis.setOffset
Usage
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
Argument | Default | Description |
x | (Mandatory) | The x offset in pixels. |
y | (Mandatory) | The y offset in pixels. |
Return Value
None
© 2023 Advanced Software Engineering Limited. All rights reserved.