Y1MajorGridStep

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

Syntax:

setY1MajorGridStep(value); 
value = getY1MajorGridStep();

where:

value

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

Example:

setY1MajorGridStepAuto(false);
setDepthAngle(0);
setY1LabelFormat(1);
setLegendDisplay(false);  setY1MajorGridStep(5.0);
setDepthRadius(0);

bar graph

setY1MajorGridStep(20.0);

bar graph

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

See Y1MajorGridStepAuto, Y1MinorGridStepAuto, getGridStep(), getGridStepAuto(), setGridStep(), setGridStepAuto().


WebFOCUS