UserMajorStep property



The user-specified step value for major grid lines and tick marks. A user-specified value overrides the major step value that the chart automatically calculates.

Syntax

Set:     Axis.setUserMajorStep(stepValue)
Get: stepValue = Axis.getUserMajorStep()

Applies to

Axis object.

Data type

double. A number that specifies the step value.

Usage

A step value represents the difference between drawn axis tick marks. 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.

Example
UserMajorStep property example

See also
MajorStep property
UserMinorStep property
xAxisScaleMajor PARAM tag
yAxisScaleMajor PARAM tag