AreaGroups Method

Applies To

Chart object.

Description

On a 2-D chart, returns an object that represents either a single area chart group (a ChartGroup object, Syntax 1) or a collection of the area chart groups (a ChartGroups collection, Syntax 2).

Syntax 1

expression.AreaGroups(Index)

Syntax 2

expression.AreaGroups

expression Required. An expression that returns a Chart object.

Index Optional Variant. The chart group number.

See Also

Area3DGroup property, BarGroups method, ChartGroups method, ColumnGroups method, DoughnutGroups method, LineGroups method, PieGroups method.

Example

This example turns on drop lines for the 2-D area chart group.

Charts(1).AreaGroups(1).HasDropLines = True