LegendSeriesCount

When the legend scroll bar is enabled with LegendScroll(1) or LegendScroll(2), this property defines the number of series to show in the scrolled legend area.

Syntax:

setLegendSeriesCount(value);
integer = getLegendSeriesCount();

where:

integer

Is any integer between 0 and the number of series in the graph. 0 is the default value.

Example:

setDepthAngle(0);
setDepthRadius(0);
setFootnoteDisplay(false);
setSubtitleDisplay(false);
setTitleDisplay(false);
setLegendAutomatic(true);
setLegendScroll(2);
   setLegendSeriesCount(3);
setLegendSeriesStart(0);
setLegendOrient(0);
setLegendRect(new Rectangle(-15340,-2478,5948,17550));

bar graph

See LegendScroll, LegendSeriesStart.


WebFOCUS