add method

add

Adds a Trendline object to this collection with specified type.

Returns

Trendline object index.

def add(self, type):
    ...
ParameterTypeDescription
typeTrendlineTypeTrendline type.

add

Adds a Trendline object to this collection with specified type and name.

Returns

Trendline object index.

def add(self, type, name):
    ...
ParameterTypeDescription
typeTrendlineTypeTrendline type.
namestrTrendline name.

See Also