In addition to labels and titles, you may also enable/disable
the display of data values (data text) in a graph.
Use the following properties and methods to display data text
and define where and how the data text is displayed:
- DataItemsAlongSeries
(true/false); This property determines whether data items are aligned
parallel to the series (both rows or both columns).
- DataTextAngleDefault
(0...360); This property sets an angle from center-point that all
data text is drawn from. 90 is the default value.
- DataTextDisplay
(true/false); This property enables/disables the display of data values
next to risers or markers in a graph.
- DataTextPosition
(0...5); This property can be used to define the position where data
text is displayed. 0 is the default value.
- DataTextRadiusDefault
(0...100); This property sets the default radius that data text
will be drawn out from the center of a riser.
- get/setDataTextAngle();
These methods get/set the angle from the center point that all or
selected data text is drawn.
- get/setDataTextRadius();
These methods get/set the radius for the data text position of a
specified data point.
The DataTextPosition property determines where data text labels
are displayed in the graph. If this property is set to zero, the
values set by DataTextAngleDefault or setDataTextAngle and DataTextRadiusDefault
or SetDataTextRadius will be used to determine where data text is
displayed. The following examples show the data text positions that
can be selected with DataTextPosition (1...5).
Example:
setDataTextPosition(1);
Example:
setDataTextPosition(2);
Example:
setDataTextPosition(3);
Example:
setDataTextPosition(4);
Example:
setDataTextPosition(5);
Data text is typically drawn for all series and groups.