ChartDirector 5.1 (PHP Edition)
DrawArea.text
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
str | (Mandatory) | A string representing the text to be drawn. See ChartDirector Mark Up Language on how to embed special tags in the text for sophisticated formatting. |
font | (Mandatory) | The font name. See Font Specification for details on various font attributes. |
fontSize | (Mandatory) | The font size in points. |
x | (Mandatory) | The x coordinate of the top-left corner of the text. |
y | (Mandatory) | The y coordinate of the top-left corner of the text. |
color | (Mandatory) | The color of the text. |
Return Value