ChartArea Object
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Chart ChartArea |
Represents the chart area of the specified chart. The chart area in a 2-D chart contains the axes, the chart title, the axis titles, and the legend. The chart area in a 3-D chart contains the chart title and the legend; it doesn't include the plot area (the area within the chart area where the data is plotted). For information about formatting the plot area, see the PlotArea object.
Using the ChartArea Object
Use the ChartArea property to return the ChartArea object. The following example sets the pattern for the chart area.
myChart.ChartArea.Interior.Pattern = xlLightDown