ChartCategoryCollection class

ChartCategoryCollection class

Represents collection of ChartCategory

The ChartCategoryCollection type exposes the following members:

Properties

PropertyDescription
use_cellsIf true then worksheet is used for storing categories (this case supports a multi-level categories).
If false then worksheet is NOT used for storing values (and this case doesn’t support a
multi-level categories).
Read/write bool.
grouping_level_countReturns count of category grouping levels used.
Is more then one for multilevel categories.
Read-only int.

Gets the element at the specified index.

Indexer

NameDescription
[index]

Methods

MethodDescription
addIf category exists in collection, return it. Else creates new chart category from
IChartDataCell and adds it to the collection.
addCreates new ChartCategory from value and adds it to the collection.
index_ofSearches for the specified ChartCategory and returns the zero-based index of the first occurrence within the entire Collection.
removeRemoves the specified value.
remove_atRemoves the element at the given index.
clearRemoves all elements from the collection.

See Also