Table of contents
TOC
Collapse the table of content
Expand the table of content

ChartGroup Object (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

Remarks

A chart contains one or more chart groups, each chart group contains one or more Series objects, and each series contains one or more Points objects. For example, a single chart might contain both a line chart group, which contains all the series plotted with the line chart format, and a bar chart group, which contains all the series plotted with the bar chart format. The ChartGroup object is a member of the ChartGroups collection.

Use ChartGroups ( Index ), where index is the chart group index number, to return a single ChartGroup object.

Example

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

The following example adds drop lines to the first chart group of the first chart in the active document.

With ActiveDocument.InlineShapes(1).Chart

    .ChartGroups(1).HasDropLines = True

End With

See also

Concepts

PowerPoint Object Model Reference

© 2017 Microsoft