ChartSeriesCollection
ChartSeriesCollection class
Represents collection of ChartSeries
add
Name | Description |
---|---|
add (int) | Creates new chart series and adds it to the collection. |
Parameters:
Name | Type | Description |
---|---|---|
type | int | Type of series |
Returns: ChartSeries
add
Name | Description |
---|---|
add (ChartDataCell, int) | Creates new chart series from ChartDataCell and adds it to the collection. |
Parameters:
Name | Type | Description |
---|---|---|
cellWithSeriesName | ChartDataCell | Cell which contain series name. |
type | int | Type set type of series If chart series careted from same cell already in collection then method adds nothing and returns it’s index. |
Returns: ChartSeries
add
Name | Description |
---|---|
add (ChartCellCollection, int) | Creates new chart series from ChartCellCollection and adds it to the collection. |
Parameters:
Name | Type | Description |
---|---|---|
cellsWithSeriesName | ChartCellCollection | Cells which contain series name. |
type | int | Type set type of series If chart series careted from same cell already in collection then method adds nothing and returns it’s index. |
Returns: ChartSeries
add
Name | Description |
---|---|
add (String, int) | Creates new chart series from value and adds it to the collection. |
Parameters:
Name | Type | Description |
---|---|---|
name | String | Series name. |
type | int | Type set type of series |
Returns: ChartSeries
clear
Name | Description |
---|---|
clear () | Removes all controls from the collection. |
Returns: void
getSyncRoot
Name | Description |
---|---|
getSyncRoot () | Returns a synchronization root. Read-only Object. |
Returns: Object
get_Item
Name | Description |
---|---|
get_Item (int) | Gets the element at the specified index. |
Returns: ChartSeries
Exception
Error | Condition |
---|---|
com.aspose.ms.System.ArgumentOutOfRangeException | index is not a valid index in the IList. |
indexOf
Name | Description |
---|---|
indexOf (ChartSeries) | Searches for the specified ChartSeries and returns the zero-based index of the first occurrence within the entire Collection |
Parameters:
Name | Type | Description |
---|---|---|
value | ChartSeries | Chart series value. |
Returns: int
insert
Name | Description |
---|---|
insert (int, int) | Creates new chart series and inserts it into the collection. |
Returns: ChartSeries
isSynchronized
Name | Description |
---|---|
isSynchronized () | Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean. |
Returns: boolean
iterator
Name | Description |
---|---|
iterator () | Returns an enumerator that iterates through the collection. |
Returns:
iteratorJava
Name | Description |
---|---|
iteratorJava () | Returns a java iterator for the entire collection. |
Returns:
remove
Name | Description |
---|---|
remove (ChartSeries) | Removes the specified value. |
Parameters:
Name | Type | Description |
---|---|---|
value | ChartSeries | The value. |
Returns: void
Exception
Error | Condition |
---|---|
com.aspose.ms.System.ArgumentException | The value parameter was not found in the collection. |
removeAt
Name | Description |
---|---|
removeAt (int) | Removes an ActiveX control stored at specified position from the collection. |
Parameters:
Name | Type | Description |
---|---|---|
index | int | Index of a control to remove. |
Returns: void
size
Name | Description |
---|---|
size () | Returns a number of objects in the collection. Read-only int. |
Returns: int