MinorUnitsInterval Property

Measurement Studio User Interface

MinorUnitsInterval Property

Syntax

CWTicks.MinorUnitsInterval

Data Type

Variant

Purpose

Specifies the number of units between minor divisions.

Remarks

Set the MinorDivisions property to 0 to disable minor divisions.

Example

'Specify that ticks are determined by MajorUnitsInterval
CWGraph1.Axes(1).Ticks.MajorDivisions = 0

'Place major ticks every 2 units (even numbers)
CWGraph1.Axes(1).Ticks.MajorUnitsInterval = 2

'Place minor ticks every .5 units
CWGraph1.Axes(1).Ticks.MinorUnitsInterval = .5

'The units base is 0
CWGraph1.Axes(1).Ticks.MajorUnitsBase = 0

'To specify ticks at odd numbers, change the base to 1
CWGraph1.Axes(1).Ticks.MajorUnitsBase = 1

'Now, there will be major ticks at ..., -3, -1, 1, 3, 5, ...

See Also

MajorUnitsBase

MajorUnitsBase

MajorDivisions