TrendlineCollection

TrendlineCollection

Overview

TrendlineCollection is a class in Aspose.Slides FOSS for Python. Inherits from: ITrendlineCollection.

Represents a collection of Trendline objects for a chart series.

This class declares 7 methods for TrendlineCollection objects in Python programs. Available methods include: __getitem__, __iter__, __len__, add, remove. Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: count.

Properties

NameTypeAccessDescription
countintReadGets the count.

Methods

SignatureDescription
__len__() → intCalls len on this TrendlineCollection instance.
__getitem__(index: int) → TrendlineCalls getitem(index) on this TrendlineCollection instance.
__iter__()Calls iter on this TrendlineCollection instance.
add(trendline_type: TrendlineType) → ITrendlineAdd a new trendline of the specified type.
remove(value: Trendline)Remove a trendline from the collection.
add(trendline_type) → ITrendlineAdds a new trendline of the specified TrendlineType and returns it
remove(value)Removes the given Trendline from the collection

See Also

 English