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


Gets or sets the interval offset type of major and minor grid lines.


Grid or mark offset type.

Syntax

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

Return Value

A DateTimeIntervalType enumeration value that indicates the interval type. By default it is not set for major grid lines. The default value for minor grid lines is "Auto".

Remarks

By default this property is not set for axis labels, major tick marks and major grid lines. If it is not set (by default, or explicitly at design-time using "NotSet" or at run-time by assigning DateTimeIntervalType.NotSet) then the actual value of this property is determined by the IntervalOffsetType property of the Axis object that the chart element (e.g. grid line, tick mark) belongs to.

The interval offset type of minor tick marks and grid lines is never affected by the Axis.IntervalOffsetType property value.

If this interval offset type is set to "Auto" then the IntervalType property will be used.

For further details concerning offsets and intervals refer to the Setting Axis Labels Interval 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.