LineGroups Method

On a 2-D chart, returns an object that represents either a single line chart group or a collection of the line chart groups.

expression.LineGroups(Index)

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

Index Optional Variant. Specifies the chart group.

Example

This example sets line group one to use a different color for each data marker. The example should be run on a 2-D chart.

myChart.LineGroups(1).VaryByCategories = True