Interface ISeriesCollection
Represents a collection of all the
ISeries objects in the specifiedchart.-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds one or more new series to theISeriesCollectioncollection.Spread will determine where the values are by the size and orientation of the selected range.voidAdds one or more new series to theISeriesCollectioncollection.voidAdds one or more new series to theISeriesCollectioncollection.voidAdds new data points to an existing series collection.get(int index) Returns a single object from a collection.Returns a single object from a collection.intgetCount()Returns the number of objects in the collection.Returns the parent object for the specified object.Creates a new series.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getParent
IChart getParent()Returns the parent object for the specified object. -
getCount
int getCount()Returns the number of objects in the collection. -
add
Adds one or more new series to theISeriesCollectioncollection.Spread will determine where the values are by the size and orientation of the selected range.- Parameters:
source- The new data, a Range object.
-
add
Adds one or more new series to theISeriesCollectioncollection.- Parameters:
source- The new data, a Range object.rowCol- Specifies whether the new values are in the rows or columns of thegiven range source. Can be one of the followingRowColconstants: Rows or Columns.
-
add
Adds one or more new series to theISeriesCollectioncollection.- Parameters:
source- The new data, either as a Range object or an array of data points.rowCol- Specifies whether the new values are in the rows or columns of thespecified range.seriesLabels- True if the first row or column contains the name of the dataseries. False if the first row or column contains the first data point of the series.categoryLabels- True if the first row or column contains the name of the categorylabels. False if the first row or column contains the first data point of the series.
-
extend
Adds new data points to an existing series collection.- Parameters:
source- The new data to be added to theISeriesCollectionobjectrowcol- Specifies whether the new values are in the rows or columns of thegiven range source. Can be one of theRowColconstants:Rows or Columns.categoryLabels- True to have the first row or column contain the name of thecategory labels. False to have the first row or column contain the first data point of the series.
-
get
Returns a single object from a collection.- Parameters:
index- The index number for the object.
-
get
Returns a single object from a collection.- Parameters:
name- The name for the object.
-
newSeries
ISeries newSeries()Creates a new series.- Returns:
- Returns the
ISeriesobject that represents the new series.
-