com.aspose.slides
Interface IChartSeriesCollection

All Superinterfaces:
com.aspose.ms.System.Collections.IEnumerable<IChartSeries>, IGenericCollection<IChartSeries>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IChartSeries>, java.lang.Iterable<IChartSeries>
All Known Implementing Classes:
ChartSeriesCollection

public interface IChartSeriesCollection
extends IGenericCollection<IChartSeries>

Represents collection of IChartSeries


Method Summary
 IChartSeries add(IChartCellCollection cellsWithSeriesName, int type)
           Creates new chart series from IChartCellCollection and adds it to the collection.
 IChartSeries add(IChartDataCell cellWithSeriesName, int type)
           Creates new chart series from IChartDataCell and adds it to the collection.
 IChartSeries add(int type)
           Creates new chart series and adds it to the collection.
 IChartSeries add(java.lang.String name, int type)
           Creates new chart series from value and adds it to the collection.
 void clear()
           Removes all elements from the collection.
 IChartSeries get_Item(int index)
           Gets the element at the specified index.
 int indexOf(IChartSeries value)
           Searches for the specified IChartSeries and returns the zero-based index of the first occurrence within the entire Collection
 IChartSeries insert(int index, int type)
           Creates new chart series and insertss it into the collection.
 void remove(IChartSeries value)
           Removes the specified value.
 void removeAt(int index)
           Removes the element at the specified index
 
Methods inherited from interface com.aspose.slides.IGenericCollection
copyTo, getSyncRoot, isSynchronized, size
 
Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable
iterator
 

Method Detail

get_Item

IChartSeries get_Item(int index)

Gets the element at the specified index.

Returns:
The element at the specified index.
Throws:
T:System.ArgumentOutOfRangeException - index is not a valid index in the T:System.Collections.IList.

add

IChartSeries add(int type)

Creates new chart series and adds it to the collection.

Parameters:
type - Type of series
Returns:
New chart series.

insert

IChartSeries insert(int index,
                    int type)

Creates new chart series and insertss it into the collection.


add

IChartSeries add(IChartDataCell cellWithSeriesName,
                 int type)

Creates new chart series from IChartDataCell and adds it to the collection.


If chart series careted from same cell already in collection then method adds nothing and returns it's index.

Parameters:
cellWithSeriesName - Cell which contain series name.
type - Type set type of series
Returns:
Added chart series or series that already is in collection.

add

IChartSeries add(IChartCellCollection cellsWithSeriesName,
                 int type)

Creates new chart series from IChartCellCollection and adds it to the collection.


If chart series careted from same cell already in collection then method adds nothing and returns it's index.

Parameters:
cellsWithSeriesName - Cells which contain series name.
type - Type set type of series
Returns:
Added chart series or series that already is in collection.

add

IChartSeries add(java.lang.String name,
                 int type)

Creates new chart series from value and adds it to the collection.

Parameters:
name - Series name.
type - Type set type of series
Returns:
Added chart series.

indexOf

int indexOf(IChartSeries value)

Searches for the specified IChartSeries and returns the zero-based index of the first occurrence within the entire Collection

Parameters:
value - Chart series value.
Returns:
The zero-based index of the first occurrence of value within the entire CollectionBase, if found; otherwise, -1.

remove

void remove(IChartSeries value)

Removes the specified value.

Parameters:
value - The value.
Throws:
System.ArgumentException - The value parameter was not found in the collection.

removeAt

void removeAt(int index)

Removes the element at the specified index


clear

void clear()

Removes all elements from the collection.



Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.