Gets or sets the interval offset of an axis.
Axis interval offset.
Visual Basic (Declaration) | |
---|---|
Public Property IntervalOffset As Double |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public double IntervalOffset {get; set;} |
Return Value
The interval offset of an axis. Defaults to "Auto" (represented by a value of zero).
This property determines the interval offset of an axis, and is used as the interval offset of an axis' labels and major tick marks and grid lines associated with the axis if the IntervalOffset property value of the labels, tick marks, or grid lines is "NotSet" (represented by Double.Nan).
The IntervalOffset property of an axis' tick marks, labels and grid lines has priority over the IntervalOffset property setting of the Axis object.
A value of zero represents an "Auto" value. Also, Axis.Interval cannot be set to "NotSet" (e.g. a Double.NaN). Assigning Double.NaN will result in an "Auto" value being used (e.g. a value of zero).
Note that the minor grid lines and tick marks of an axis never use this property for their interval offset.
The interval offset type of the axis is determined by the IntervalOffsetType property.
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