DTSpacing Property
The DTSpacing property returns or sets axis major tick mark date/time spacing. Returns a Double.
Use the DTMinorSpacing to set the axis minor tick mark date/time spacing.
Syntax
object.DTSpacing
object.DTSpacing = DTSpacing
Parameter | Type | Description |
DTSpacing | Double | required, major interval tick mark spacing |
Example
This example shows how to set the date time spacing for an axis.
Axis.TickMarks.DTSpacing = 2
Used by: AutoAxisTickMarks object