See Also

Chart Class  | Chart Members

Language

Visual Basic

C#

Show All

See Also Languages dotnetCHARTING Send comments on this topic.

ChartArea Property

Gets or sets the main ChartArea of the image.

[Visual Basic]
Public Property ChartArea As ChartArea
[C#]
public ChartArea ChartArea {get; set;}

Example

[C#] 

ChartArea chartAreaObj= new ChartArea(); 
 chartAreaObj.Background.Color = Color.LightBlue; 
 chartAreaObj.Line.Color=Color.Yellow; 
 chartAreaObj.InteriorLine.Color=Color.Blue; 
 chartAreaObj.Label.Text="Customized chart area"; 
 Chart.ChartArea = chartAreaObj;

[Visual Basic] 

Dim chartAreaObj As ChartArea = new ChartArea()
chartAreaObj.Background.Color = Color.LightBlue
chartAreaObj.Line.Color=Color.Yellow
chartAreaObj.InteriorLine.Color=Color.Blue
chartAreaObj.Label.Text="Customized chart area"
Chart.ChartArea = chartAreaObj

See Also

Chart Class  | Chart Members

 

 


2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.