Export (0) Print
Expand All

StripLine.StripWidth Property

Gets or sets the width of a strip line.

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

public double StripWidth { get; set; }

Property Value

Type: System.Double
A double value that determines whether a strip or a line is drawn. The default value is 0.0.

This property cannot be set to a value less than 0.0, otherwise an exception will be raised.

A setting of 0.0 will result in a line being drawn; this line will use the BorderColor, BorderDashStyle and BorderWidth property settings for its color, width and style. None of the Back* properties in this class are utilized when the value of StripWidth is 0.0.

If you set the StripWidth property to a value greater than 0.0, a strip will be created. The BorderColor, BorderDashStyle and BorderWidth properties only apply to the border of the strip; all of the Back* properties are then used for the background properties of the strip.

If the value of the StripWidth property is greater than 0.0, the units are determined by the relevant axis scale.

.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

© 2014 Microsoft