This documentation is archived and is not being maintained.
DateTimeIntervalType Enumeration
Visual Studio 2010
Specifies an interval type.
Assembly: System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)
| Member name | Description | |
|---|---|---|
| Auto | Automatically determined by the Chart control. | |
| Number | Interval type is in numerical. | |
| Years | Interval type is in years. | |
| Months | Interval type is in months. | |
| Weeks | Interval type is in weeks. | |
| Days | Interval type is in days. | |
| Hours | Interval type is in hours. | |
| Minutes | Interval type is in minutes. | |
| Seconds | Interval type is in seconds. | |
| Milliseconds | Interval type is in milliseconds. | |
| 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. |
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: