The ChartDirector API pre-defines several constants for the alignment options.
Constant | Value | Description |
---|---|---|
BottomLeft | 1 | The leftmost point on the bottom line. |
BottomCenter | 2 | The center point on the bottom line. |
BottomRight | 3 | The rightmost point on the bottom line. |
Left | 4 | The leftmost point on the middle horizontal line. |
Center | 5 | The center point on the middle horizontal line. |
Right | 6 | The rightmost point on the middle horizontal line. |
TopLeft | 7 | The leftmost point on the top line. |
TopCenter | 8 | The center point on the top line. |
TopRight | 9 | The rightmost point on the top line. |
Bottom | 2 | The center point on the bottom line. Same as BottomCenter. |
Top | 8 | The center point on the top line. Same as TopCenter. |