This property enables or disables automatic calculation of the number of major grid lines on the X-axis.
Syntax:
setX1MajorGridStepAuto(boolean);
boolean = getX1MajorGridStepAuto();
where:
Can be one of the following:
true automatically calculates the number of grid steps on the X-axis. The value assigned to X1MajorGridStep is ignored. This value is the default.
false uses the value set by X1MajorGridStep.
Example:
setMarkerSizeDefault(60);
setGraphType(61);
setX1MajorGridStep(15);
setX1MajorGridStepAuto(true);
setX1MajorGridStepAuto(false);
Note: If the value assigned to X1MajorGridStep is negative or results in greater than 50 grid lines, the X1MajorGridStepAuto property is automatically set to true and the X1MajorGridStep value is ignored.
See X1MajorGridStep, X1MinorGridStep, X1MinorGridStepAuto, getGridStep(), setGridStep(), getGridStepAuto(), setGridStepAuto(), getX1MajorGridStepAutoValue().
WebFOCUS |