This documentation is archived and is not being maintained.

Axis::IntervalOffsetType Property

Gets or sets the interval offset type of an axis.

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

[PersistenceModeAttribute(PersistenceMode::Attribute)]
[BindableAttribute(true)]
public:
property DateTimeIntervalType IntervalOffsetType {
	DateTimeIntervalType get ();
	void set (DateTimeIntervalType value);
}

Property Value

Type: System.Web.UI.DataVisualization.Charting::DateTimeIntervalType
A DateTimeIntervalType that represents the interval offset type of an axis. The default value is Auto.

This property determines the interval offset type of an axis. It is used for the interval offset type of an axis' labels, major tick marks, and grid lines if the axis element's own IntervalOffsetType property value is set to NotSet.

Setting this property to NotSet will result in a value of Auto being used (only the axis elements such as major grid lines, etc. can be set to NotSet).

NoteNote

The minor grid lines and tick marks of an axis never use this property for their interval offset type.

The interval of the axis is determined by the IntervalOffset property.

.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.
Show: