ChartCategoryCollection
Overview
ChartCategoryCollection is a class in Aspose.Slides FOSS for Python.
Inherits from: IChartCategoryCollection.
Represents collection of chart categories.
This class declares 12 methods for ChartCategoryCollection objects in Python programs.
Available methods include: __getitem__, __iter__, __len__, 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 | Gets or sets the use cells. |
Methods
| Signature | Description |
|---|---|
__len__() → int | Calls len on this ChartCategoryCollection instance. |
__getitem__(index: int) → ChartCategory | Calls getitem(index) on this ChartCategoryCollection instance. |
__iter__() | Calls iter on this ChartCategoryCollection instance. |
add(value) → IChartCategory | Add a category. |
index_of(value: ChartCategory) → int | Returns the zero‑based index of the specified ChartCategory |
remove(value: ChartCategory) | Deletes the given ChartCategory from the collection |
remove_at(index: int) | Removes the category at the specified index |
clear() | Removes all categories from the collection |
add() → IChartCategory | Adds a new category and returns the created IChartCategory |
index_of(value) → int | Calls index_of(value) on this ChartCategoryCollection instance. |
remove(value) | Calls remove(value) on this ChartCategoryCollection instance. |
remove_at(index) | Calls remove_at(index) on this ChartCategoryCollection instance. |