MajorStep property



The step value for major grid lines and tick marks.

Syntax

Set:     Axis.setMajorStep(stepValue)
Get: stepValue = Axis.getMajorStep()

Applies to

Axis object.

Data type

double. A number that specifies the step value. The default value depends on the data that is plotted.

Usage

A step value represents the distance between drawn axis major tick marks or major grid lines. For example, if an axis minimum and maximum are 0 and 10, and the step is 0.5, the axis is drawn with 20 tick marks.
After setting this property, call refresh() to redraw the chart.

See also
MinorStep property
UserMajorStep property