GaugeMajorAutoStep

When the GraphType property is set to 110 (gauge graph), this property enables or disables automatic calculation of the number of major grid steps. When automatic calculation is disabled, the Y1MajorGridStep property defines the number of major grid steps in the gauge.

Syntax:

setGaugeMajorAutoStep(boolean);
boolean = getGaugeMajorAutoStep();

where:

boolean

Can be one of the following:

true automatically calculates the number of major grid steps.

false uses the number of major grid steps set by the Y1MajorGridStep property. This value is the default.

Example:

setGraphType(110);  setGaugeMajorAutoStep(false);
setDisplay(getFrame(), false);
setY1MajorGridStep(5.0);

gauge graph


WebFOCUS