ChartSeriesCollection
ChartSeriesCollection
概述
ChartSeriesCollection 是 Aspose.Slides FOSS 中用于 Python 的类。继承自:IChartSeriesCollection。
表示图表系列的集合。
此类提供 6 个方法,用于在 Python 程序中处理 ChartSeriesCollection 对象。可用的方法包括:add、clear、index_of、insert、remove、remove_at。在安装了 Aspose.Slides FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。
方法
| 签名 | 描述 |
|---|---|
add() → IChartSeries | 添加序列。 |
insert(index: int, chart_type: 'ChartType') → IChartSeries | 在指定索引处插入给定图表类型的新系列,并返回 IChartSeries |
index_of(value: ChartSeries) → int | 返回指定 ChartSeries 的零基索引,如果未找到则返回 -1 |
remove(value: ChartSeries) | 从集合中删除指定的 ChartSeries |
remove_at(index: int) | 在给定的零基索引处移除该系列 |
clear() | 从集合中移除所有系列 |