MajorUnitsInterval Property

3D Graph Control

MajorUnitsInterval Property

Syntax

CWTicks3D.MajorUnitsInterval

Data Type

Variant

Purpose

Specifies the number of units between major divisions.

Remarks

Set this property to 5 and MajorUnitsBase to 0 to place major tick marks at multiples of five.

Setting this property overrides the MajorDivisions and MinorDivisions properties and causes the MajorUnitsBase and MinorUnitsInterval properties to take effect.

Example

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

'Place minor ticks every .5 units
CWGraph3D1.Axes.Item(1).MajorUnitsInterval = .5

'The unit's base is 0
CWGraph3D1.Axes.Item(1).MajorUnitsBase = 0


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

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

See Also

MajorUnitsBase

MinorUnitsInterval

MajorDivisions