BarGroups Method

See Also         Example         Applies To

On a 2-D chart, returns an object that represents either 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

expression.BarGroups(Index)

Syntax 2

expression.BarGroups

expression   Required. An expression that returns a Chart object.

Index   Optional Variant. Specifies the chart group.