Partager via


ChartArea Object (PowerPoint)

Represents the chart area of a chart.

Version Information

Version Added: PowerPoint 2007

Remarks

The chart area includes everything, including the plot area. However, the PlotArea object has its own formatting, so formatting the plot area does not format the chart area.

Use the ChartArea property to return the ChartArea object.

Example

Note

Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.

The following example turns off the border for the chart area in the first chart of the active document.

With ActiveDocument.InlineShapes(1).Chart

    ChartArea.Format.Line.Visible = False

End With

See Also

Concepts

ChartArea Object Members

PowerPoint Object Model Reference