AreaGroups method (Excel Graph)
On a 2D chart, this method returns an object that represents a single area chart group or a collection of all the area chart groups.
Syntax
expression.AreaGroups (Index)
expression Required. An expression that returns one of the objects in the ChartGroups collection.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Index | Optional | Variant | The index number of the specified chart group. |
Example
This example turns on drop lines for the 2D area chart group.
myChart.AreaGroups(1).HasDropLines = True
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.