X1MustIncludeZero

This property determines whether or not a graph includes zero. If the logarithmic scale is enabled with X1LogScale(true) or a manual scale range excludes zero (X1ScaleMax and X1ScaleMin are greater than zero), this property is ignored.

Syntax:

setX1MustIncludeZero(boolean);
boolean = getX1MustIncludeZero();

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:

setMarkerSizeDefault(60);
setX1OffScaleDisplay(false);
setX1ScaleMax(40.0);  setX1MustIncludeZero(true);
setY1MajorGridDisplay(false);
setX1MajorGridStyle(4);
setGraphType(61);

scatter graph

setX1MustIncludeZero(false);

scatter graph

See X1ScaleMax, X1ScaleMin, X1ZeroLineDisplay.


WebFOCUS