Y2MustIncludeZero

When automatic scaling is used (Y2ScaleMaxAuto and Y2ScaleMinAuto are true) and the range of values provided to the graph includes zero, this property determines whether or not the graph must include zero on the Y2 axis. If the logarithmic scale is enabled with Y2LogScale(true) or a manual scale range excludes zero (Y2ScaleMax and Y2ScaleMin are greater than zero), this property is ignored.

Syntax:

setY2MustIncludeZero(boolean);
boolean = getY2MustIncludeZero();

where:

boolean

Can be one of the following:

true includes zero.

false excludes zero if it is not within the given automatic scale range. This value is the default.

Example:

setY2MustIncludeZero(true);
setGraphType(21);

bi-polar bar graph

setY2MustIncludeZero(false);
setGraphType(21);

bi-polar bar graph

See Y2ScaleMax, Y2ScaleMin, Y2ZeroLineDisplay.


WebFOCUS