This property gets or sets the offset of grid lines.
Grid or mark interval offset.
Visual Basic (Declaration) | |
---|---|
Public Property IntervalOffset As Double |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public double IntervalOffset {get; set;} |
Return Value
A double value that represents the interval offset.
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).
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