Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DateTimeIntervalType Enumeration
Collapse the table of content
Expand the table of content

DateTimeIntervalType Enumeration

.NET Framework 4.6 and 4.5

Specifies an interval type.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

type DateTimeIntervalType

Member nameDescription
AutoAutomatically determined by the Chart control.
DaysInterval type is in days.
HoursInterval type is in hours.
MillisecondsInterval type is in milliseconds.
MinutesInterval type is in minutes.
MonthsInterval type is in months.
NotSetThe 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.
NumberInterval type is in numerical.
SecondsInterval type is in seconds.
WeeksInterval type is in weeks.
YearsInterval 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.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft