ChartDirector 7.0 (PHP Edition)
BaseChart.
Usage
Description
Arguments
| Argument | Default | Description |
|---|---|---|
| x | (Mandatory) | The x pixel coordinate of the left of the text box. |
| y | (Mandatory) | The y pixel coordinate of the top of the text box. |
| text | (Mandatory) | The text to shown in the text box. CDML |
| font | "" | The font used to draw the text. See Font Specification for details on various font attributes. |
| fontSize | 8 | The font size used to draw the text. |
| fontColor | TextColor | The color used to draw the text. |
| alignment | TopLeft | The alignment of the text within the text box. See Alignment Specification for supported alignment types. |
| angle | 0 | The rotation angle of the text within the text box. |
Return Value