DataTextPosition

When the DataTextDisplay property is enabled, this property defines the position where data text is displayed next to risers in a graph.

Syntax:

setDataTextPosition(value);
value = getDataTextPosition();

where:

value

Can be one of the following:

0 for custom, use angle and radius set by DataTextAngleDefault and DataTextRadiusDefault.

1 for above risers. 1 is the default value.

2 for center on riser top edge.

3 for below riser top edge.

4 for center of riser.

5 for center of riser.

Example:

setDepthRadius(0);
setViewableGroups(3);
setViewableSeries(3);
setDataScrollerPresenceGroups(0);
setDataScrollerPresenceSeries(0);
setDataTextDisplay(true);
   setDataTextPosition(1);

bar graph

setDataTextPosition(2);

bar graph

setDataTextPosition(3);

bar graph

setDataTextPosition(4);

bar graph

setDataTextPosition(5);

bar graph

Note: If this property is set to zero, the DataTextAngleDefault and DataTextRadiusDefault properties and the setDataTextAngle() and setDataTextRadius() methods control the location of data text.

See DataTextDisplay, DataTextAngleDefault, DataTextRadiusDefault.


WebFOCUS