Y2ScaleMax

This property specifies the maximum data value that can be used to image the graph and its axis. When a value is assigned to this property, the Y2ScaleMaxAuto property is automatically set to false.

Syntax:

setY2ScaleMax(value);
value = getY2ScaleMax();

where:

value

Is any value. This value is a Java double-precision number. 80.0 is the default value.

Example:

setGraphType(21);
setY2ScaleMaxAuto(false);
setDepthAngle(0);  setY2ScaleMaxAuto(false); setY2ScaleMax(60.0);
setLegendDisplay(false);
setY2OffScaleDisplay(true);
setDepthRadius(0);

bi-polar bar graph

setY2ScaleMax(100.0);

bi-polar bar graph

Note: If Y2ScaleMax is set to a value less than Y2ScaleMin, the values will be automatically switched and Y2AxisDescending will be set to true.

See Y2ScaleMaxAuto, Y2ScaleMin, Y2ScaleMinAuto, getScaleMax(), getScaleMaxAuto(), setScaleMax(), setScaleMaxAuto().


WebFOCUS