Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IntervalType Property

Axis.IntervalType Property

.NET Framework 4.6 and 4.5

Gets or sets the interval type of an axis.

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

public DateTimeIntervalType IntervalType { get; set; }

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.6, 4.5, 4
© 2015 Microsoft