ChartSeriesCollection

ChartSeriesCollection class

Represents collection of ChartSeries

add

NameDescription
add (int)Creates new chart series and adds it to the collection.

Parameters:

NameTypeDescription
typeintType of series

Returns: ChartSeries


add

NameDescription
add (ChartDataCell, int)Creates new chart series from ChartDataCell and adds it to the collection.

Parameters:

NameTypeDescription
cellWithSeriesNameChartDataCellCell which contain series name.
typeintType 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

NameDescription
add (ChartCellCollection, int)Creates new chart series from ChartCellCollection and adds it to the collection.

Parameters:

NameTypeDescription
cellsWithSeriesNameChartCellCollectionCells which contain series name.
typeintType 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

NameDescription
add (String, int)Creates new chart series from value and adds it to the collection.

Parameters:

NameTypeDescription
nameStringSeries name.
typeintType set type of series

Returns: ChartSeries


clear

NameDescription
clear ()Removes all controls from the collection.

Returns: void


getSyncRoot

NameDescription
getSyncRoot ()Returns a synchronization root. Read-only Object.

Returns: Object


get_Item

NameDescription
get_Item (int)Gets the element at the specified index.

Returns: ChartSeries

Exception

ErrorCondition
com.aspose.ms.System.ArgumentOutOfRangeExceptionindex is not a valid index in the IList.

indexOf

NameDescription
indexOf (ChartSeries)Searches for the specified ChartSeries and returns the zero-based index of the first occurrence within the entire Collection

Parameters:

NameTypeDescription
valueChartSeriesChart series value.

Returns: int


insert

NameDescription
insert (int, int)Creates new chart series and inserts it into the collection.

Returns: ChartSeries


isSynchronized

NameDescription
isSynchronized ()Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

Returns: boolean


iterator

NameDescription
iterator ()Returns an enumerator that iterates through the collection.

Returns:


iteratorJava

NameDescription
iteratorJava ()Returns a java iterator for the entire collection.

Returns:


remove

NameDescription
remove (ChartSeries)Removes the specified value.

Parameters:

NameTypeDescription
valueChartSeriesThe value.

Returns: void

Exception

ErrorCondition
com.aspose.ms.System.ArgumentExceptionThe value parameter was not found in the collection.

removeAt

NameDescription
removeAt (int)Removes an ActiveX control stored at specified position from the collection.

Parameters:

NameTypeDescription
indexintIndex of a control to remove.

Returns: void


size

NameDescription
size ()Returns a number of objects in the collection. Read-only int.

Returns: int