ChartGroups Collection Object

Description

A collection of all the ChartGroup objects in the specified chart. Each ChartGroup object represents one or more series plotted in a chart using the same format. 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 a line chart group, containing all the series plotted using the line chart format, and a bar chart group, containing all the series plotted using the bar chart format.

Accessors

The ChartGroups collection contains all of the chart groups in one chart. Use the ChartGroups method with an argument to access a single member of the collection or without an argument to access the entire collection at once. You can also use one of the named chart group shortcut methods to access a particular chart group. The PieGroups method returns the collection of pie chart groups in a chart, the LineGroups method returns the collection of line chart groups, and so on. Each of these methods can be used with an index number to return a single ChartGroup object or without an index to return a ChartGroups collection. The following chart group methods are available: AreaGroups Method, BarGroups Method, ColumnGroups Method, DoughnutGroups Method, LineGroups Method, PieGroups Method.

Properties

Application Property, Count Property, Creator Property, Parent Property.

Methods

Item Method.