ChartDirector Ver 3.1 (PHP Edition Edition)
BaseChart.addLegend
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
x | (Mandatory) | The x coordinate of the left of the legend box. |
y | (Mandatory) | The y coordinate of the top of the legend box. |
vertical | true (non-zero) | Determine if the legend keys are laid out vertically (from top to bottom) or horizontally (from left to right, top to bottom). A true (non-zero) value means vertical layout. A false (zero) value means horizontal layout. |
font | "" | The font name of the font for drawing the legend text. The default is "normal". See Font Specification for details on various font attributes. |
fontSize | 10 | The font size of the legend text. |
Return Value