| Visual Basic (Declaration) | |
|---|---|
| Public Sub ClearColors() | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
|  | |
| C# | |
|---|---|
| public void ClearColors() | |
Clears legend colors. 
             
            
            | C# |  Copy Code | 
|---|---|
| Chart.LegendBox.ClearColors(); | |
| Visual Basic |  Copy Code | 
|---|---|
| Chart.LegendBox.ClearColors() | |
The following properties are set when invoked: 
Background.Color = Color.Empty
Background.Bevel = false
Line.Color = Color.Empty
Shadow.Color = Color.Empty
InteriorLine.Color = Color.Empty
            
            
            Background.Color = Color.Empty
Background.Bevel = false
Line.Color = Color.Empty
Shadow.Color = Color.Empty
InteriorLine.Color = Color.Empty
 
     
     
     
    