Export (0) Print
Expand All

Grid.IntervalOffset Property

Gets or sets the offset of grid lines.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

[BindableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public double IntervalOffset { get; set; }

Property Value

Type: System.Double
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—either by default, by explicitly specifying "Not Set"at design time, or by assigning it a value of NotSet at run time—the actual value of this property is determined by the IntervalOffset property of the Axis object that the chart element, such as a grid line or a tick mark, belongs to.

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

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

The IntervalOffset can be a negative value.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2015 Microsoft