ChartDirector 6.0 (Perl Edition)

DataSet.setDataLabelStyle


Usage

setDataLabelStyle([ font [, fontSize [, fontColor [, fontAngle ]]]])

Description

Enables data labels and sets their styles.

To set the data label styles for all data sets in a layer, use Layer.setDataLabelStyle.

For details description of data labels, please refer to :Layer.setDataLabelStyle.

Arguments

ArgumentDefaultDescription
font""The font used to draw the labels.
fontSize8The font size used to draw the labels.
fontColorTextColorThe color used to draw the labels.
fontAngle0The rotation angle of the labels.

Return Value

A TextBox object representing the prototype of the data labels. This may be used to fine-tune the appearance of the data labels.