CimSeriesList.Add (method)

Adds an axis with a particular name and type to the collection.
Syntax: Set CimSeries = object.Add ( Name, Type )
Parameters:
Name As String - Specifies the name of the series to add.
Type As ApSeriesTypeEnum - Specifies the type of the series to add.
Description: CimSeriesList.Add adds a series with the specified name and type. If you specify the name of an existing series, the type of the existing series is changed to the specified type and then it is returned.

Example

The following CimView script excerpt adds a new series with name Series:

Dim Series as CimSeries
Set Series = cimOleObj.Series.Add("Series")