IChartCategoryCollection
Overview
IChartCategoryCollection is a class in Aspose.Slides FOSS for Python.
Inherits from: ABC.
Represents collection of
This class declares 8 methods for IChartCategoryCollection objects in Python programs.
Available methods include: __getitem__, add, clear, index_of, remove, remove_at.
Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: use_cells.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
use_cells | bool | Read/Write | If true then worksheet is used for storing categories (this case supports a multi-level categories). |
Methods
| Signature | Description |
|---|---|
add(chart_data_cell) → IChartCategory | Adds a new chart category using a ChartDataCell and returns the created IChartCategory |
add(value) → IChartCategory | Calls add(value) on this IChartCategoryCollection instance. |
add() → IChartCategory | |
index_of(value) → int | Calls index_of(value) on this IChartCategoryCollection instance. |
remove(value) | Deletes the specified chart category from the collection |
remove_at(index) | Deletes the chart category at the given zero‑based index |
clear() | Calls clear on this IChartCategoryCollection instance. |
__getitem__(index: int) → IChartCategory | Calls getitem(index) on this IChartCategoryCollection instance. |