接口 ISeriesCollection

所有超级接口:
Iterable<ISeries>

public interface ISeriesCollection extends Iterable<ISeries>
Represents a collection of all the ISeries objects in the specifiedchart.
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    add(IRange source)
    Adds one or more new series to the ISeriesCollection collection.Spread will determine where the values are by the size and orientation of the selected range.
    void
    add(IRange source, RowCol rowCol)
    Adds one or more new series to the ISeriesCollection collection.
    void
    add(IRange source, RowCol rowCol, boolean seriesLabels, boolean categoryLabels)
    Adds one or more new series to the ISeriesCollection collection.
    void
    extend(IRange source, RowCol rowcol, boolean categoryLabels)
    Adds new data points to an existing series collection.
    get(int index)
    Returns a single object from a collection.
    get(String name)
    Returns a single object from a collection.
    int
    Returns the number of objects in the collection.
    Returns the parent object for the specified object.
    Creates a new series.

    从接口继承的方法 java.lang.Iterable

    forEach, iterator, spliterator
  • 方法详细资料

    • getParent

      IChart getParent()
      Returns the parent object for the specified object.
    • getCount

      int getCount()
      Returns the number of objects in the collection.
    • add

      void add(IRange source)
      Adds one or more new series to the ISeriesCollection collection.Spread will determine where the values are by the size and orientation of the selected range.
      参数:
      source - The new data, a Range object.
    • add

      void add(IRange source, RowCol rowCol)
      Adds one or more new series to the ISeriesCollection collection.
      参数:
      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 following RowColconstants: Rows or Columns.
    • add

      void add(IRange source, RowCol rowCol, boolean seriesLabels, boolean categoryLabels)
      Adds one or more new series to the ISeriesCollection collection.
      参数:
      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

      void extend(IRange source, RowCol rowcol, boolean categoryLabels)
      Adds new data points to an existing series collection.
      参数:
      source - The new data to be added to the ISeriesCollection object
      rowcol - Specifies whether the new values are in the rows or columns of thegiven range source. Can be one of the RowCol constants: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

      ISeries get(int index)
      Returns a single object from a collection.
      参数:
      index - The index number for the object.
    • get

      ISeries get(String name)
      Returns a single object from a collection.
      参数:
      name - The name for the object.
    • newSeries

      ISeries newSeries()
      Creates a new series.
      返回:
      Returns the ISeries object that represents the new series.