IChartCategoryCollection

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

NameTypeAccessDescription
use_cellsboolRead/WriteIf true then worksheet is used for storing categories (this case supports a multi-level categories).

Methods

SignatureDescription
add(chart_data_cell) → IChartCategoryAdds a new chart category using a ChartDataCell and returns the created IChartCategory
add(value) → IChartCategoryCalls add(value) on this IChartCategoryCollection instance.
add() → IChartCategory
index_of(value) → intCalls 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) → IChartCategoryCalls getitem(index) on this IChartCategoryCollection instance.

See Also