This documentation is archived and is not being maintained.

StripLine::IntervalType Property

Gets or sets the interval type of a StripLine object.

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 enumeration value that indicates the interval type. The default value is Auto.

Interval types can be set to Auto, in which case the type depends on: the X-value or Y-value types of the plotted DataPoint objects—depending on which axis the StripLine objects belong to—and the axis scale.

The Interval property determines how often a strip or line is drawn.

The following code example demonstrates three applications of strip lines. First, horizontal strip lines are added at recurring intervals. Second, vertical strip lines are added to highlight weekend data points. Lastly, a non-recurring strip line is added to denote the mean of the data points in the first series of the chart.

No code example is currently available or this language may not be supported.

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