ChartSeriesCollection

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

SignatureDescription
__len__() → intCalls len on this ChartSeriesCollection instance.
__getitem__(index: int) → ChartSeriesCalls getitem(index) on this ChartSeriesCollection instance.
__iter__()Calls iter on this ChartSeriesCollection instance.
add() → IChartSeriesAdd a series.
insert(index: int, chart_type: 'ChartType') → IChartSeriesInserts a new series of the given chart type at the specified index and returns the IChartSeries
index_of(value: ChartSeries) → intReturns 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) → IChartSeriesreturns anIChartSeriesobject that can be configured withnameand adata_points` collection
add(cell_with_series_name, type) → IChartSeriesCalls add(cell_with_series_name, type) on this ChartSeriesCollection instance.
insert(index, type) → IChartSeriesCalls insert(index, type) on this ChartSeriesCollection instance.
index_of(value) → intCalls 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.

See Also

 English