ChartCategoryCollection

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

NameTypeAccessDescription
use_cellsboolRead/WriteGets or sets the use cells.

Methods

SignatureDescription
__len__() → intCalls len on this ChartCategoryCollection instance.
__getitem__(index: int) → ChartCategoryCalls getitem(index) on this ChartCategoryCollection instance.
__iter__()Calls iter on this ChartCategoryCollection instance.
add(value) → IChartCategoryAdd a category.
index_of(value: ChartCategory) → intReturns 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() → IChartCategoryAdds a new category and returns the created IChartCategory
index_of(value) → intCalls 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.

See Also

 English