Enable data labels and set their styles.
This method affects all data labels in the layer. To set the style for one particular data set only, use
DataSet.setDataLabelStyle.
Data labels are text used label data points in the layer. Different layer types put data labels in different positions. For example, in a bar chart, data labels are put at the internal end of the bar. For a line chart, data labels are put above the data points.
For some chart types, the position of the data labels can be manipulated by calling the
TextBox.setAlignment method of the
TextBox object returned by the setDataLabelStyle method.
See
Font Specification for details on various font attributes.
A
TextBox object that represents the prototype of the data labels. You may use the methods of this object to fine-tune the appearance of the data labels.
© 2004 Advanced Software Engineering Limited. All rights reserved.