DTUnits Property

The DTUnits property returns or sets axis major tick mark date/time spacing units. Returns a Double.

Use the DTMinorUnits to set the axis minor tick mark date/time units.

Syntax

object.DTUnits

object.DTUnits = DTUnits

 

Parameter Type Description
DTUnits Long required, can use grfDateTimeexcluding

 

Example

This example shows how to set the date time spacing units for an axis.

Axis.TickMarks.DTUnits = grfYear

 

Used by: AutoAxisTickMarks object