AreaGroups Method

On a 2-D chart, this method returns an object that represents a single area chart group or a collection of all the area chart groups.

expression.AreaGroups(Index)

expression    Required. An expression that returns one of the objects in the Applies To list.

Index    Optional Variant. The index number of the specified chart group.

Example

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

myChart.AreaGroups(1).HasDropLines = True