---
Product: Aspose.Slides
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/python/ChartCategoryCollection
---

# ChartCategoryCollection

## Overview

`ChartCategoryCollection` is a class in Aspose.Slides FOSS for Python.
Inherits from: `IChartCategoryCollection`.

Represents collection of chart categories.

This class provides 5 methods for working with ChartCategoryCollection objects in Python programs.
Available methods include: `add`, `clear`, `index_of`, `remove`, `remove_at`.
All 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 |
|-----------|-------------|
| `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 |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)