Applies To
Chart Object.
Description
Accessor. On a 2-D chart, returns an object that represents a single scatter chart group (a ChartGroup object, Syntax 1), or a collection of the scatter chart groups (a ChartGroups collection, Syntax 2).
Syntax 1
object.XYGroups(index)
Syntax 2
object.XYGroups
object
Required. The Chart object.
index
Required for Syntax 1. Specifies the chart group.
Example
This example converts X-Y group (scatter group) one to an area group. The example should be run on a 2-D chart.
Charts("Chart1").XYGroups(1).Type = xlArea