Cursor movement interval type.
Visual Basic (Declaration) | |
---|---|
Public Property IntervalType As DateTimeIntervalType |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public DateTimeIntervalType IntervalType {get; set;} |
Return Value
A DateTimeIntervalType enumeration value.C# | Copy Code |
---|---|
using Dundas.Charting.WinControl; |
Visual Basic | Copy Code |
---|---|
Imports Dundas.Charting.WinControl |
Determines the type of interval, which is specified using the Interval property.
If the interval type is "Auto" the interval's unit of measurement is then treated as a Double, which is equivalent to one day when dealing with DateTimes.
Note that the interval-related properties have no effect when a range selection or cursor position are set programmatically.
IMPORTANT: If the axis interval type is a time (e.g. hours, minutes, etc.) then in order to have zooming function correctly the Cursor.IntervalType must be set to a time value as well . For example, if ChartArea1.AxisX.IntervalType is hours then ChartArea1.CursorX.IntervalType could be set to minutes.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family