ChartArea Property (Chart)
Gets or sets the main ChartArea of the image.
Syntax
Example
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;
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
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