Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ChartGroups Object (PowerPoint)

Represents one or more series plotted in a chart with the same format.

Version Added: PowerPoint 2007

A ChartGroups collection is a collection of all the ChartGroup objects in the specified chart. A chart contains one or more chart groups, each chart group contains one or more series, and each series contains one or more points. For example, a single chart might contain both a line chart group, containing all the series plotted with the line chart format, and a bar chart group, containing all the series plotted with the bar chart format.

Note Note

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

The following example displays the number of chart groups on the first chart of the active document. Use the ChartGroups method to return the ChartGroups collection.

MsgBox ActiveDocument.InlineShapes(1).Chart._


The following example adds drop lines to chart group 1 on chart sheet 1. Use ChartGroups(index), where Index is the chart group index number, to return a single ChartGroup object.


    ChartGroups(1).HasDropLines = True
© 2015 Microsoft