LegendScroll

This property controls the presence of scroll bars in the legend area. If the legend scroll bar is enabled with LegendScroll(1) or LegendScroll(2), you must set the starting series to show with LegendSeriesStart and the number of series to show in the scroll area with LegendSeriesCount.

Syntax:

setLegendScroll(value);
value = getLegendScroll();

where:

value

Can be one of the following:

0 never shows legend scroll bar. 0 is the default value.

1 only shows legend scroll bar when the number of series exceeds the size of the legend area.

2 always shows legend scroll bar.

Example:

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

bar graph

See LegendSeriesCount, LegendSeriesStart.


WebFOCUS