LineGroups Method

Applies To

Chart Object.

Description

Accessor. On a 2-D chart, returns an object that represents a single line chart group (a ChartGroup object, Syntax 1), or a collection of the line chart groups (a ChartGroups collection, Syntax 2).

Syntax 1

object.LineGroups(index)

Syntax 2

object.LineGroups

object

Required. The Chart object.

index

Required for Syntax 1. Specifies the chart group.

See Also

Line3DGroup Property.

Example

This example sets the subtype for line group one in Chart1. The example should be run on a 2-D chart.


Charts("Chart1").LineGroups(1).SubType = 2