ChartCategoryCollection
Contents
[
Hide
]ChartCategoryCollection class
Represents collection of ChartCategory
public class ChartCategoryCollection : DomObject<ChartData>, IChartCategoryCollection
Properties
Name | Description |
---|---|
Count { get; } | Returns a number of elements int the collection. Read-only Int32. |
GroupingLevelCount { get; } | Returns count of category grouping levels used. Is more then one for multilevel categories. Read-only Int32. |
IsSynchronized { get; } | Returns a value indicating whether access to the List is synchronized (thread safe). Read-only Boolean. |
Item { get; } | Gets the element at the specified index. |
SyncRoot { get; } | Returns an object that can be used to synchronize access to the collection. Read-only Object. |
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 ChartCategory from value and adds it to the collection. |
Clear() | Removes all elements from the collection. |
CopyTo(Array, int) | Copies all elements of the collection to the specified array. |
GetEnumerator() | Returns an enumerator that iterates through the collection. |
IndexOf(IChartCategory) | Searches for the specified ChartCategory 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
- class DomObject<TParent>
- class ChartData
- interface IChartCategoryCollection
- namespace Aspose.Slides.Charts
- assembly Aspose.Slides