ChartSeriesCollection
Overview
ChartSeriesCollection is a class in Aspose.Slides FOSS for Python.
Inherits from: IChartSeriesCollection.
Represents collection of chart series.
This class declares 15 methods for ChartSeriesCollection objects in Python programs.
Available methods include: __getitem__, __iter__, __len__, add, clear, index_of, insert, remove, remove_at.
Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Methods
| Signature | Description |
|---|---|
__len__() → int | Calls len on this ChartSeriesCollection instance. |
__getitem__(index: int) → ChartSeries | Calls getitem(index) on this ChartSeriesCollection instance. |
__iter__() | Calls iter on this ChartSeriesCollection instance. |
add() → IChartSeries | Add a series. |
insert(index: int, chart_type: 'ChartType') → IChartSeries | Inserts a new series of the given chart type at the specified index and returns the IChartSeries |
index_of(value: ChartSeries) → int | Returns the zero‑based index of the specified ChartSeries, or -1 if not found |
remove(value: ChartSeries) | Deletes the specified ChartSeries from the collection |
remove_at(index: int) | Removes the series at the given zero‑based index |
clear() | Removes all series from the collection |
add(type) → IChartSeries | returns anIChartSeriesobject that can be configured withnameand adata_points` collection |
add(cell_with_series_name, type) → IChartSeries | Calls add(cell_with_series_name, type) on this ChartSeriesCollection instance. |
insert(index, type) → IChartSeries | Calls insert(index, type) on this ChartSeriesCollection instance. |
index_of(value) → int | Calls index_of(value) on this ChartSeriesCollection instance. |
remove(value) | Calls remove(value) on this ChartSeriesCollection instance. |
remove_at(index) | Calls remove_at(index) on this ChartSeriesCollection instance. |