public interface IChartCategoryCollection extends IGenericCollection<IChartCategory>
Represents collection of IChartCategory
| Modifier and Type | Method and Description |
|---|---|
IChartCategory |
add(IChartDataCell chartDataCell)
If category exists in collection, return it.
|
IChartCategory |
add(java.lang.Object value)
Creates new
IChartCategory from value and adds it to the collection. |
void |
clear()
Removes all elements from the collection.
|
IChartCategory |
get_Item(int index)
Gets the element at the specified index.
|
int |
getGroupingLevelCount()
Returns count of category grouping levels used.
|
boolean |
getUseCells()
If true then worksheet is used for storing categories (this case supports a multi-level categories).
|
int |
indexOf(IChartCategory value)
Searches for the specified
IChartCategory and returns the zero-based index of the first occurrence within the entire Collection |
void |
remove(IChartCategory value)
Removes the specified value.
|
void |
removeAt(int index)
Removes the element at the given index.
|
void |
setUseCells(boolean value)
If true then worksheet is used for storing categories (this case supports a multi-level categories).
|
iteratorJavaiteratorIChartCategory get_Item(int index)
Gets the element at the specified index.
com.aspose.ms.System.ArgumentOutOfRangeException - index is not a valid index in the IList.boolean getUseCells()
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.
void setUseCells(boolean value)
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.
int getGroupingLevelCount()
Returns count of category grouping levels used.
Is more then one for multilevel categories.
Read-only int.
IChartCategory add(IChartDataCell chartDataCell)
If category exists in collection, return it. Else creates new chart category from
IChartDataCell and adds it to the collection.
chartDataCell - Cell used to create chart category.IChartCategory add(java.lang.Object value)
Creates new IChartCategory from value and adds it to the collection.
value - The value.
IChartDataWorkbook to add or edit cell values, be sure that you do not use this worksheet
Maximum number of values added using this method must not exceed 16711680IChartCategory.com.aspose.ms.System.InvalidOperationException - if limit exceededint indexOf(IChartCategory value)
Searches for the specified IChartCategory and returns the zero-based index of the first occurrence within the entire Collection
value - Chart category.void remove(IChartCategory value)
Removes the specified value.
value - The value.com.aspose.ms.System.ArgumentException - The value parameter was not found in the collection.void removeAt(int index)
Removes the element at the given index.
index - Index of a category to remove.void clear()
Removes all elements from the collection.
Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.