.netCHARTING v10.5 Documentation


ClearColors Method (ChartArea)
Serves as a shortcut to make the ChartArea transparent.
Syntax
'Declaration
 
Public Sub ClearColors() 
'Usage
 
Dim instance As ChartArea
 
instance.ClearColors()
public void ClearColors()
Remarks
The following properties are set:
Background.Color = Color.Empty
Background.Bevel = false
Line.Color = Color.Empty
Shadow.Color = Color.Empty
InteriorLine.Color = Color.Empty
For each axis
AlternateGridBackground.Color = Color.Empty;
AlternateGridBackground.Mode = BackgroundMode.Color;
AlternateGridBackground.Bevel = false;
GridLine.Color = Color.Empty;
ZeroLine.Color = Color.Empty;
Example
Requirements

Target Platforms: 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

See Also