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
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Gets the count. |
Methods
| Signature | Description |
|---|---|
__len__() → int | Calls len on this TrendlineCollection instance. |
__getitem__(index: int) → Trendline | Calls getitem(index) on this TrendlineCollection instance. |
__iter__() | Calls iter on this TrendlineCollection instance. |
add(trendline_type: TrendlineType) → ITrendline | Add a new trendline of the specified type. |
remove(value: Trendline) | Remove a trendline from the collection. |
add(trendline_type) → ITrendline | Adds a new trendline of the specified TrendlineType and returns it |
remove(value) | Removes the given Trendline from the collection |