DateTimeIntervalType Enumeration
TOC
Collapse the table of content
Expand the table of content

DateTimeIntervalType Enumeration

.NET Framework (current version)
 

Specifies an interval type.

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

public enum DateTimeIntervalType

Member nameDescription
Auto

Automatically determined by the Chart control.

Days

Interval type is in days.

Hours

Interval type is in hours.

Milliseconds

Interval type is in milliseconds.

Minutes

Interval type is in minutes.

Months

Interval type is in months.

NotSet

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

Interval type is in numerical.

Seconds

Interval type is in seconds.

Weeks

Interval type is in weeks.

Years

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.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft