dotnetCHARTING Send comments on this topic.
ClearColors Method
See Also 
dotnetCHARTING Namespace > ChartArea Class : ClearColors Method


Serves as a shortcut to make the ChartArea transparent.

Syntax

Visual Basic (Declaration) 
Public Sub ClearColors() 
Visual Basic (Usage)Copy Code
Dim instance As ChartArea
 
instance.ClearColors()
C# 
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;

See Also