ViewableGroups

This property selects the number of groups to be made visible in a graph. When this property is set to a value greater than zero, you may use the ScrollOffsetGroups property to define the first group to be made visible.

Syntax:

setViewableGroups(value);
value = getViewableGroups();

where:

value

Is any integer between 0 and the number of groups in the data that defines the graph. 0 (show all groups) is the default.

Example:

setViewableGroups(1);
setDataScrollerPresenceGroups(0);
setDepthAngle(0);
setDepthRadius(0);

bar graph

setViewableGroups(3);

bar graph

Note: The setDataRange() method can also be used to set the number of groups to be made visible in a graph. It establishes the range of data that is used in a graph.

See ScrollOffsetGroup, ViewableGroupsStock, ViewableSeries, ViewableSeriesStock, setDataRange().


WebFOCUS