This documentation is archived and is not being maintained.

Axis::IntervalType Property

Gets or sets the interval 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 IntervalType {
	DateTimeIntervalType get ();
	void set (DateTimeIntervalType value);
}

Property Value

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

This property determines the interval type of an axis. It is used for the interval type of an axis' labels, major tick marks, and major grid lines if the axis element's own IntervalType 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 grid lines, can be set to NotSet.

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

The interval of the axis is determined by the Interval 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: