LineGroups Method [Excel 2003 VBA Language Reference]
On a 2-D chart, returns an object that represents either a single line chart group (a ChartGroup object) or a collection of the line chart groups (a ChartGroups collection).
expression**.LineGroups(Index)**
expression Required. An expression that returns a Chart object.
Index Optional Variant. Specifies the chart group.
Example
This example sets line group one in Chart1 to use a different color for each data marker. The example should be run on a 2-D line chart with a single series.
Charts("Chart1").LineGroups(1).VaryByCategories = True
Applies to | Chart Object
See Also | AreaGroups Method | BarGroups Method | ChartGroups Method | ColumnGroups Method | DoughnutGroups Method | Line3DGroup Property | PieGroups Method