Y1OffScaleDisplay

This property enables or disables the display of values that are out of range by clipping them to fit within the range.

Syntax:

setY1OffScaleDisplay(boolean);
boolean = getY1OffScaleDisplay();

where:

boolean

Can be one of the following:

true draws off scale values. Values less than or greater than a given range are represented at the scale limit (minimum or maximum). For example, a value of 700 goes beyond the specified range of 250-500, so its bar would go all the way to the top of the graph. This value is the default.

false does not draw off scale values. Only values that fall directly between a given range are displayed. In the example above, the 700 bar would be omitted.

Example:

setScaleMaxAuto(getY1Axis(),false);
setY1ScaleMax(40.0);
   setY1OffScaleDisplay(false);

bar graph

setY1OffScaleDisplay(true);

bar graph

See getDisplayOffScale(), setDisplayOffScale().


WebFOCUS