| Object Reference > ChartGroupCollection > ChartGroupCollection Properties > Item Property (ChartGroupCollection) |
Item Property (ChartGroupCollection)
Specifies a specific ChartGroup object from the collection. Indexed by number (with 1 representing the first object in the collection).
Property Item(Index) As ChartGroup
In Visual Basic, the Item property is understood and does not need to be explicitly set. Other development environments (JavaScript for example), however, do not automatically set this. In these environments, specify the Item property as follows:
' Sets the chart type to Pie
Chart2D1.ChartGroups.Item(1).ChartType = oc2dTypePie
See Also