title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
ChartArea object (Excel) |
vbaxl10.chm619072 |
|
|
883423b5-7689-b164-c0a3-8dab049b5d9e |
03/29/2019 |
medium |
Represents the chart area of a chart.
The chart area includes everything, including the plot area. However, the plot area has its own fill, so filling the plot area does not fill the chart area.
For information about formatting the plot area, see the PlotArea object.
Use the ChartArea property of the Chart object to return the ChartArea object.
The following example turns off the border for the chart area in embedded chart 1 on the worksheet named Sheet1.
Worksheets("Sheet1").ChartObjects(1).Chart. _
ChartArea.Format.Line.Visible = False
[!includeSupport and feedback]