ChartDirector Ver 3.1 (PHP Edition Edition)
Axis.setTitlePos
Usage
Description
| Axis | Default | Supported |
|---|---|---|
| Bottom x-axis | BottomCenter | TopLeft, TopRight, TopCenter, Left, Right, BottomLeft, BottomRight, BottomCenter |
| Top x-axis | TopCenter | TopLeft, TopRight, TopCenter, Left, Right, BottomLeft, BottomRight, BottomCenter |
| Left y-axis | Left | Left, TopLeft |
| Right y-axis | Right | Right, TopRight |
Arguments
| Argument | Default | Description |
|---|---|---|
| alignment | (Mandatory) | The position of the title relative to the axis. Please refer to the table above for the valid values. |
| titleGap | 6 | The distance between the axis title and the axis in pixels. |
Return Value