Add Method (WCSeriesCollection Collection)

See Also         Example         Applies To

Adds a series to a chart. Creates a new, empty WCSeries object at the specified position in the WCSeriesCollection collection.

Syntax

expression.Add(Index)

expression   An expression that returns a WCSeriesCollection object.

Index   Optional Long. Specifies the position of the new series in the collection. Specifying zero (0) places the new series at the beginning of the collection. If you do not specify this argument, the new series is placed at the end of the collection.