MajorDivisions Property

Measurement Studio User Interface

MajorDivisions Property

Syntax

CWTicks.MajorDivisions

Data Type

Variant

Purpose

Specifies the number of major divisions.

Remarks

If MajorDivisions is 0, the MajorUnitsInterval property takes effect.

Set MajorDivisions to 10 to split the axis range into 10 equal parts, like the grid on an oscilloscope.

Example

'Set 10 major divisions on the graph's x axis
CWGraph1.Axes.Item(1).Ticks.MajorDivisions = 10

'Set 2 minor divisions per major division
CWGraph1.Axes.Item(1).Ticks.MinorDivisions = 2

See Also

MajorUnitsInterval

MinorDivisions