When automatic scaling is used (Y1ScaleMaxAuto and Y1ScaleMinAuto 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 Y1 axis. If the logarithmic scale is enabled with Y1LogScale(true) or a manual scale range excludes zero (Y1ScaleMax and Y1ScaleMin are greater than zero), this property is ignored.
Syntax:
setY1MustIncludeZero(boolean);
boolean = getY1MustIncludeZero();
where:
Can be one of the following:
true includes zero. This value is the default.
false excludes zero if it is not within the given automatic scale range.
Example:
setDepthAngle(0);
setY1MustIncludeZero(true);
setGraphType(21);
setDepthRadius(0);
getContentPane().add(perspective1);
setDepthAngle(0);
setY1MustIncludeZero(false);
setGraphType(21);
setDepthRadius(0);
getContentPane().add(perspective1);
See Y1ScaleMax, Y1ScaleMin, Y1ZeroLineDisplay.
WebFOCUS |