ChartDirector 5.1 (PHP Edition)
Layer.addCustomDataLabel
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
dataSet | (Mandatory) | The data set index of the data point. The first data set is 0; the nth data set is (n - 1). |
dataItem | (Mandatory) | The data point index of the data point. The first data point is 0; the nth data point is (n - 1). |
label | (Mandatory) | A text string representing the data label. Parameter Substitution and Formatting is supported. |
font | "" | The font used to draw the label. |
fontSize | 8 | The font size used to draw the label. |
fontColor | TextColor | The color used to draw the label. |
fontAngle | 0 | The rotation angle of the label. |
Return Value