public class ChartSeriesCollection extends DomObject<ChartData> implements IChartSeriesCollection
Represents collection of ChartSeries
| Modifier and Type | Method and Description |
|---|---|
IChartSeries |
add(IChartCellCollection cellsWithSeriesName,
int type)
Creates new chart series from
ChartCellCollection and adds it to the collection. |
IChartSeries |
add(IChartDataCell cellWithSeriesName,
int type)
Creates new chart series from
ChartDataCell 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 controls from the collection.
|
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies the entire collection to the specified array.
|
IChartSeries |
get_Item(int index)
Gets the element at the specified index.
|
java.lang.Object |
getSyncRoot()
Returns a synchronization root.
|
int |
indexOf(IChartSeries value)
Searches for the specified
ChartSeries 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 inserts it into the collection.
|
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartSeries> |
iterator()
Returns an enumerator that iterates through the collection.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartSeries> |
iteratorJava()
Returns a java iterator for the entire collection.
|
void |
remove(IChartSeries value)
Removes the specified value.
|
void |
removeAt(int index)
Removes an ActiveX control stored at specified position from the collection.
|
int |
size()
Returns a number of objects in the collection.
|
getParent_Immediatepublic final IChartSeries get_Item(int index)
Gets the element at the specified index.
get_Item in interface IChartSeriesCollectioncom.aspose.ms.System.ArgumentOutOfRangeException - index is not a valid index in the IList.public final int size()
Returns a number of objects in the collection.
Read-only int.
size in interface com.aspose.ms.System.Collections.ICollection<IChartSeries>public final IChartSeries add(int type)
Creates new chart series and adds it to the collection.
add in interface IChartSeriesCollectiontype - Type of seriespublic final IChartSeries insert(int index, int type)
Creates new chart series and inserts it into the collection.
insert in interface IChartSeriesCollectionindex - Index for insertion inttype - Chart type ChartTypeIChartSeriespublic final IChartSeries add(IChartDataCell cellWithSeriesName, int type)
Creates new chart series from ChartDataCell and adds it to the collection.
add in interface IChartSeriesCollectioncellWithSeriesName - Cell which contain series name.type - Type set type of series
public final IChartSeries add(IChartCellCollection cellsWithSeriesName, int type)
Creates new chart series from ChartCellCollection and adds it to the collection.
add in interface IChartSeriesCollectioncellsWithSeriesName - Cells which contain series name.type - Type set type of series
public final IChartSeries add(java.lang.String name, int type)
Creates new chart series from value and adds it to the collection.
add in interface IChartSeriesCollectionname - Series name.type - Type set type of seriespublic final int indexOf(IChartSeries value)
Searches for the specified ChartSeries and returns the zero-based index of the first occurrence within the entire Collection
indexOf in interface IChartSeriesCollectionvalue - Chart series value.public final void remove(IChartSeries value)
Removes the specified value.
remove in interface IChartSeriesCollectionvalue - The value.com.aspose.ms.System.ArgumentException - The value parameter was not found in the collection.public final void removeAt(int index)
Removes an ActiveX control stored at specified position from the collection.
removeAt in interface IChartSeriesCollectionindex - Index of a control to remove.public final void clear()
Removes all controls from the collection.
clear in interface IChartSeriesCollectionpublic final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartSeries> iterator()
Returns an enumerator that iterates through the collection.
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IChartSeries>iterator in interface com.aspose.ms.System.Collections.IEnumerable<IChartSeries>iterator in interface java.lang.Iterable<IChartSeries>IGenericEnumerator that can be used to iterate through the collection.public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartSeries> iteratorJava()
Returns a java iterator for the entire collection.
iteratorJava in interface IGenericCollection<IChartSeries>Iterator for the entire collection.public final void copyTo(com.aspose.ms.System.Array array,
int index)
Copies the entire collection to the specified array.
copyTo in interface com.aspose.ms.System.Collections.ICollection<IChartSeries>array - Target arrayindex - Index in the target array.public final boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
Read-only boolean.
isSynchronized in interface com.aspose.ms.System.Collections.ICollection<IChartSeries>public final java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object.
getSyncRoot in interface com.aspose.ms.System.Collections.ICollection<IChartSeries>Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.