This documentation is archived and is not being maintained.

ChPlotArea 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.

Represents the plot area on a chart (the area where the chart data is plotted). Pie, Doughnut, Radar, and Polar charts do not have a plot area; instead, these charts draw directly on the chart area.

Using the ChPlotArea object

The ChChart object’s PlotArea property returns a ChPlotArea object.

The following example fills the plot area of the first chart in Chartspace1 with a predefined texture.

Sub FormatPlotArea()
   Dim chConstants

   Set chConstants = ChartSpace1.Constants

   ' Set the interior fill of the plot area to a preset texture.
   ChartSpace1.Charts(0).PlotArea.Interior.SetTextured _

   chConstants.chTextureParchment, chConstants.chTile

End Sub