XYErrorBarSeriesCollection
jyplot.XYErrorBar

Class XYErrorBarSeriesCollection

    • Constructor Detail

      • XYErrorBarSeriesCollection

        public XYErrorBarSeriesCollection()
        Constructs an empty dataset.
      • XYErrorBarSeriesCollection

        public XYErrorBarSeriesCollection(XYErrorBarSeries series)
        Constructs a dataset and populates it with a single series.
        Parameters:
        series - the series
    • Method Detail

      • getSeriesName

        public String getSeriesName(int series)
        Returns the name of a series.
        Parameters:
        series - the series item (zero-based).
        Returns:
        The name of a series.
      • getItemCount

        public int getItemCount(int series)
        Returns the number of items in the specified series.
        Parameters:
        series - the series (zero-based item).
        Returns:
        The item count.
      • removeSeries

        public XYErrorBarSeries removeSeries(int series)
        Removes a series from the collection and sends a DatasetChangeEvent to all registered listeners.
        Parameters:
        series - the series item (zero-based).
        Returns:
        The series/
      • getSeries

        public XYErrorBarSeries getSeries(int series)
        Returns a series from the collection.
        Parameters:
        series - the series item (zero-based).
        Returns:
        The series.
      • addSeries

        public void addSeries(XYErrorBarSeries series)
        Adds a series to the collection and sends a DatasetChangeEvent to all registered listeners.
        Parameters:
        series - the series (null not permitted).
      • getY

        public Number getY(int series,          int item)
        Returns the y-value for the specified series and item.
        Parameters:
        series - the series (zero-based item).
        item - the item (zero-based index).
        Returns:
        The value.
      • getStartY

        public Number getStartY(int series,               int item)
        Returns the starting Y value for the specified series and item.
        Parameters:
        series - the series (zero-based item).
        item - the item (zero-based index).
        Returns:
        The starting Y value.
      • getEndY

        public Number getEndY(int series,             int item)
        Returns the ending Y value for the specified series and item.
        Parameters:
        series - the series (zero-based item).
        item - the item (zero-based index).
        Returns:
        The ending Y value.
      • getX

        public Number getX(int series,          int item)
        Returns the x-value for the specified series and item.
        Parameters:
        series - the series (zero-based item).
        item - the item (zero-based index).
        Returns:
        The value.
      • getStartX

        public Number getStartX(int series,               int item)
        Returns the starting X value for the specified series and item.
        Parameters:
        series - the series (zero-based item).
        item - the item (zero-based index).
        Returns:
        The starting X value.
      • getEndX

        public Number getEndX(int series,             int item)
        Returns the ending X value for the specified series and item.
        Parameters:
        series - the series (zero-based item).
        item - the item (zero-based index).
        Returns:
        The ending X value.

SCaVis 2.0 © jWork.ORG