IChartCategoryCollection

IChartCategoryCollection interface

Represents collection of IChartCategory

public interface IChartCategoryCollection : IGenericCollection<IChartCategory>

Properties

Name Description
GroupingLevelCount { get; } Returns count of category grouping levels used. Is more then one for multilevel categories. Read-only Int32.
Item { get; } Gets the element at the specified index.
UseCells { get; set; } If 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 Boolean.

Methods

Name Description
Add(IChartDataCell) If category exists in collection, return it. Else creates new chart category from IChartDataCell and adds it to the collection.
Add(object) Creates new IChartCategory from value and adds it to the collection.
Clear() Removes all elements from the collection.
IndexOf(IChartCategory) Searches for the specified IChartCategory and returns the zero-based index of the first occurrence within the entire Collection
Remove(IChartCategory) Removes the specified value.
RemoveAt(int) Removes the element at the given index.

See Also