Applies To
Chart Object.
Description
Accessor. On a 2-D chart, returns an object that represents a single bar chart group (a ChartGroup object, Syntax 1), or a collection of the bar chart groups (a ChartGroups collection, Syntax 2).
Syntax 1
object.BarGroups(index)
Syntax 2
object.BarGroups
object
Required. The Chart object.
index
Required for Syntax 1. Specifies the chart group.
See Also
Bar3DGroup Property.
Example
This example sets the subtype for bar chart group one. The example should be run on a 2-D chart that has a bar group and a line group.
Charts("Chart1").BarGroups(1).SubType = 1