Y2MajorGridStep

When Y2MajorGridStepAuto is set to false, this property controls the number of major grid steps on the Y2-axis. Assigning a value to this property will automatically set the Y2MajorGridStepAuto property to false.

Syntax:

setY2MajorGridStep(value); 
value = getY2MajorGridStep();

where:

value

Is any positive value and is a Java double-precision number. 15.0 is the default value.

Example:

setGraphType(21);
setY2MajorGridStepAuto(false);
setDepthAngle(0);
setLegendDisplay(false);
   setY2MajorGridStep(10.0);
setDepthRadius(0);

bi-polar bar graph

setY2MajorGridStep(20.0);

bi-polar bar graph

Note: If the value assigned to Y2MajorGridStep is negative or results in greater than 50 grid lines, the Y2MajorGridStepAuto property is automatically set to true and the Y2MajorGridStep value is ignored.

See Y2MajorGridStepAuto, Y2MinorGridStep, Y2MinorGridStepAuto, getGridStep(), getGridStepAuto(), setGridStep(), setGridStepAuto().


WebFOCUS