In applications where the data range can include negative numbers, this property determines whether the risers are drawn pointing up and down from a zero line or whether all risers will draw straight up from the "bottom" of the graph. It affects risers on 3D graphs and all 2D graphs except Pies graphs.
Syntax:
setScaleFromZero(boolean);
boolean = getScaleFromZero();
where:
Can be one of the following:
true draws from the zero line. This value is the default.
false draws from the base of the frame.
Example:
setY1MajorGridStep(20.0);
setScaleFromZero(true);
setY1ScaleMax(80.0);
setY1ScaleMaxAuto(false);
setY1ScaleMin(-40.0);
setY1ScaleMinAuto(false);
setDepthRadius(0);
setScaleFromZero(false);
WebFOCUS |