LegendMarkerPosition

This property sets the location and format of the graph legends.

Syntax:

setLegendMarkerPosition(value);
value = getLegendMarkerPosition();

where:

value

Can be one of the following:

0 sets legend box to the left of legend text. 0 is the default value.

1 sets legend text to the left of legend box.

2 sets legend text below legend box.

3 sets legend text above legend box.

4 sets legend text inside legend box.

Example:

setViewableGroups(3);
setViewableSeries(3);
setDataScrollerPresenceGroups(0);
setDataScrollerPresenceSeries(0);
setDepthRadius(0);
setLegendOrient(0);
setLegendAutomatic(false);
setY1AxisSide(1);
   setLegendMarkerPosition(0);
setLegendRect(new Rectangle(-15340,-3478,4948,18550));

bar graph

setLegendMarkerPosition(1);

bar graph

setLegendMarkerPosition(2);

bar graph

setLegendMarkerPosition(3);

bar graph

setLegendMarkerPosition(4);

bar graph

See LegendAutomatic, LegendDisplay, LegendReverse, UseSeriesShapes, setLegendRect().


WebFOCUS