AreaGroups Method

Applies To

Chart Object.

Description

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

object.AreaGroups(index)

Syntax 2

object.AreaGroups

object

Required. The Chart object.

index

Required for Syntax 1. Specifies the chart group.

See Also

Area3DGroup Property.

Example

This example sets the subtype for area chart group one. The example should be run on a 2-D chart that has an area group and a line group.


Charts("Chart1").AreaGroups(1).SubType = 1