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


This property gets or sets the offset of grid lines.


Grid or mark interval offset.

Syntax

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

Return Value

A double value that represents the interval offset.

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 Double.NaN) then the actual value of this property is determined by the IntervalOffset property of the Axis object that the chart element (e.g. grid line, tick mark) belongs to.

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

The IntervalOffsetType property setting defines the units of measurement of the offset.

IntervalOffset can be a negative value.

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.