Dundas Chart for Windows Forms
IntervalType Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Label Class : IntervalType Property


Gets or sets the interval type of the axis label.


Label interval type.

Syntax

Visual Basic (Declaration)  
Public Property IntervalType As DateTimeIntervalType
Visual Basic (Usage) Copy Code
Dim instance As Label
Dim value As DateTimeIntervalType
 
instance.IntervalType = value
 
value = instance.IntervalType
C#  
public DateTimeIntervalType IntervalType {get; set;}

Return Value

A DateTimeIntervalType enumeration value that indicates the interval type. By default it is not set.

Remarks

By default this property is not set for axis labels, and the actual value of this property is determined by the IntervalType property of the Axis object that the label belongs to.

Interval types can be set to Auto, and the type of interval then depends on either the X-values or Y-values of the plotted DataPoint objects, depending on which axis the applicable elements belong to.

Setting the IntervalType property for a value axis will only have an effect if the values of data points are Date/Time or Double values (also the XValueType or YValueType property of the plotted Series must be set to Auto or DateTime).

Setting the IntervalType property for a categorical axis will only have an effect if the XValueType property (or YValueType property, depending on the axis in question) of the plotted Series object is either Auto or DateTime.

Note that Sunday is considered the first day of the week.

For a detailed discussion of interval-related properties see the Setting Axis Label Intervals topic (also applies to grid lines, tick marks and strip lines).

Requirements

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

See Also

© 2009 All Rights Reserved.