StripLine::BackColor Property
Gets or sets the background color of the strip line.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
You can set this property to any valid ARGB (alpha, red, green, blue) value.
To set a gradient for the strip line, set the BackColor and BackSecondaryColor properties.
If you set this color to "transparent"—in other words, set the alpha value to 0—no color will be assigned to the background of the element. As a result, the background will be transparent.
If the StripWidth property is set to 0.0, a line will be drawn and the BorderColor property will determine the color of the line, not this property.
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.
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.