ChartDirector Ver 3.1 (PHP Edition Edition)

PolarLayer.addCustomDataLabel


Usage

addCustomDataLabel(i, label[, font[, fontSize[, fontColor[, fontAngle ]]]])

Description

Add a custom data label to a data point.

See Font Specification for details on various font attributes.

Arguments

ArgumentDefaultDescription
i(Mandatory)The data point number for the data point. The first data point is 0, while 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.
fontSize8The font size used to draw the label.
fontColorTextColorThe color used to draw the label.
fontAngle0Set the rotation of the font.

Return Value

A TextBox object that represents the custom data label. You may use the methods of this object to fine-tune the appearance of the custom data label.