This documentation is archived and is not being maintained.
ChartArea::BackColor Property
Visual Studio 2010
Gets or sets the background color of a ChartArea object.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
You can set this property to any valid ARGB (alpha, red, green, blue) value.
The BackColor value will be the first color used if you have specified gradient colors for the background.
The alpha value controls the opacity of a color. If you set this color to "transparent"—that is, if you use an alpha value of 0—no color will be assigned to the background of the chart area. As a result, the background will be transparent.
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: