Class DefaultBoxPlotModel

    • Constructor Detail

      • DefaultBoxPlotModel

        public DefaultBoxPlotModel()
    • Method Detail

      • getDataCount

        public int getDataCount​(Comparable<?> series)
        Description copied from interface: BoxPlotModel
        Get data count of a specified series.
        Specified by:
        getDataCount in interface BoxPlotModel
        Parameters:
        series - the specified series.
      • getName

        public String getName​(Comparable<?> series,
                              int index)
        Description copied from interface: BoxPlotModel
        Get the name value from the specified series at the given index.
        Specified by:
        getName in interface BoxPlotModel
        Returns:
        name the name value
      • getX

        public Number getX​(Comparable<?> series,
                           int index)
        Description copied from interface: BoxPlotModel
        Get the x value from the specified series at the given index.
        Specified by:
        getX in interface BoxPlotModel
        Returns:
        x the x value
      • getLow

        public Number getLow​(Comparable<?> series,
                             int index)
        Description copied from interface: BoxPlotModel
        Get the low value from the specified series at the given index.
        Specified by:
        getLow in interface BoxPlotModel
        Returns:
        low the low value
      • getQ1

        public Number getQ1​(Comparable<?> series,
                            int index)
        Description copied from interface: BoxPlotModel
        Get the q1 value from the specified series at the given index.
        Specified by:
        getQ1 in interface BoxPlotModel
        Returns:
        q1 the q1 value
      • getMedian

        public Number getMedian​(Comparable<?> series,
                                int index)
        Description copied from interface: BoxPlotModel
        Get the median value from the specified series at the given index.
        Specified by:
        getMedian in interface BoxPlotModel
        Returns:
        median the median value
      • getQ3

        public Number getQ3​(Comparable<?> series,
                            int index)
        Description copied from interface: BoxPlotModel
        Get the q3 value from the specified series at the given index.
        Specified by:
        getQ3 in interface BoxPlotModel
        Returns:
        q3 the q3 value
      • getHigh

        public Number getHigh​(Comparable<?> series,
                              int index)
        Description copied from interface: BoxPlotModel
        Get the high value from the specified series at the given index.
        Specified by:
        getHigh in interface BoxPlotModel
        Returns:
        high the high value
      • setValue

        public void setValue​(Comparable<?> series,
                             Number low,
                             Number q1,
                             Number median,
                             Number q3,
                             Number high,
                             int index)
        Description copied from interface: BoxPlotModel
        Replace the (low, q1, median, q3, high) value at the given index of the specified series.
        Specified by:
        setValue in interface BoxPlotModel
        Parameters:
        series - the series
        low - the low value
        q1 - the q1 value
        median - the median value
        q3 - the q1 value
        high - the high value
        index - the data index
      • setValue

        public void setValue​(Comparable<?> series,
                             Number x,
                             Number low,
                             Number q1,
                             Number median,
                             Number q3,
                             Number high,
                             int index)
        Description copied from interface: BoxPlotModel
        Replace the (x, low, q1, median, q3, high) value at the given index of the specified series.
        Specified by:
        setValue in interface BoxPlotModel
        Parameters:
        series - the series
        x - the x value
        low - the low value
        q1 - the q1 value
        median - the median value
        q3 - the q1 value
        high - the high value
        index - the data index
      • setValue

        public void setValue​(Comparable<?> series,
                             String name,
                             Number low,
                             Number q1,
                             Number median,
                             Number q3,
                             Number high,
                             int index)
        Description copied from interface: BoxPlotModel
        Replace the (name, low, q1, median, q3, high) value at the given index of the specified series.
        Specified by:
        setValue in interface BoxPlotModel
        Parameters:
        series - the series
        low - the low value
        q1 - the q1 value
        median - the median value
        q3 - the q1 value
        high - the high value
        index - the data index
      • addValue

        public void addValue​(Comparable<?> series,
                             Number low,
                             Number q1,
                             Number median,
                             Number q3,
                             Number high)
        Description copied from interface: BoxPlotModel
        Append a (low, q1, median, q3, high) value into the the given series.
        Specified by:
        addValue in interface BoxPlotModel
        Parameters:
        series - the series to append this value into
        low - the low value
        q1 - the q1 value
        median - the median value
        q3 - the q1 value
        high - the high value
      • addValue

        public void addValue​(Comparable<?> series,
                             Number x,
                             Number low,
                             Number q1,
                             Number median,
                             Number q3,
                             Number high)
        Description copied from interface: BoxPlotModel
        Append a (x, low, q1, median, q3, high) value into the the given series.
        Specified by:
        addValue in interface BoxPlotModel
        Parameters:
        series - the series to append this value into
        x - the x value
        low - the low value
        q1 - the q1 value
        median - the median value
        q3 - the q1 value
        high - the high value
      • addValue

        public void addValue​(Comparable<?> series,
                             String name,
                             Number low,
                             Number q1,
                             Number median,
                             Number q3,
                             Number high)
        Description copied from interface: BoxPlotModel
        Append a (name, low, q1, median, q3, high) value into the the given series.
        Specified by:
        addValue in interface BoxPlotModel
        Parameters:
        series - the series to append this value into
        name - the name value
        low - the low value
        q1 - the q1 value
        median - the median value
        q3 - the q1 value
        high - the high value
      • addValue

        public void addValue​(Comparable<?> series,
                             Number low,
                             Number q1,
                             Number median,
                             Number q3,
                             Number high,
                             int index)
        Description copied from interface: BoxPlotModel
        Add a (low, q1, median, q3, high) value into the the given series at the given index.
        Specified by:
        addValue in interface BoxPlotModel
        Parameters:
        series - the series to append this value into
        low - the low value
        q1 - the q1 value
        median - the median value
        q3 - the q1 value
        high - the high value
        index - the index value
      • addValue

        public void addValue​(Comparable<?> series,
                             Number x,
                             Number low,
                             Number q1,
                             Number median,
                             Number q3,
                             Number high,
                             int index)
        Description copied from interface: BoxPlotModel
        Add a (x, low, q1, median, q3, high) value into the the given series at the given index.
        Specified by:
        addValue in interface BoxPlotModel
        Parameters:
        series - the series to append this value into
        x - the x value
        low - the low value
        q1 - the q1 value
        median - the median value
        q3 - the q1 value
        high - the high value
        index - the index value
      • addValue

        public void addValue​(Comparable<?> series,
                             String name,
                             Number low,
                             Number q1,
                             Number median,
                             Number q3,
                             Number high,
                             int index)
        Description copied from interface: BoxPlotModel
        Add a (name, low, q1, median, q3, high) value into the the given series at the given index.
        Specified by:
        addValue in interface BoxPlotModel
        Parameters:
        series - the series to append this value into
        name - the name value
        low - the low value
        q1 - the q1 value
        median - the median value
        q3 - the q1 value
        high - the high value
        index - the index value
      • removeSeries

        public void removeSeries​(Comparable<?> series)
        Description copied from interface: BoxPlotModel
        Remove data of a specified series.
        Specified by:
        removeSeries in interface BoxPlotModel
        Parameters:
        series - the series
      • removeValue

        public void removeValue​(Comparable<?> series,
                                int index)
        Description copied from interface: BoxPlotModel
        Remove a (x, low, q1, median, q3, high) value from the specified series at the given index.
        Specified by:
        removeValue in interface BoxPlotModel
        Parameters:
        series - the series.
        index - the data index.