DateTimeIntervalType Enum


Specifies an interval type.

public enum class DateTimeIntervalType
public enum DateTimeIntervalType
type DateTimeIntervalType = 
Public Enum DateTimeIntervalType


Auto 0

Automatically determined by the Chart control.

Days 5

Interval type is in days.

Hours 6

Interval type is in hours.

Milliseconds 9

Interval type is in milliseconds.

Minutes 7

Interval type is in minutes.

Months 3

Interval type is in months.

NotSet 10

The IntervalType or IntervalOffsetType property is not set. This value is used for grid lines, tick marks, strip lines and axis labels, and indicates that the interval type is being obtained from the Axis object to which the element belongs. Setting this value for an Axis object will have no effect.

Number 1

Interval type is in numerical.

Seconds 8

Interval type is in seconds.

Weeks 4

Interval type is in weeks.

Years 2

Interval type is in years.


The DateTimeIntervalType enumeration represents date and time interval types.

Note that if you use the NotSet value, properties other than IntervalType or IntervalOffsetType will treat NotSet as an Auto value.

The DateTimeIntervalType values are applicable to the LabelStyle, Grid, TickMark and StripLine classes.

Applies to