Class StaticHistogramDataset

  • All Implemented Interfaces:
    ObjectInputValidation, Serializable, Cloneable, EventListener,,,,,, org.jfree.util.PublicCloneable

    public class StaticHistogramDataset
    extends AbstractHistogramDataset
    Static histogram dataset for use with JFreeChart histograms.
    Nick Collier
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addValues​(cern.colt.list.DoubleArrayList vals)
      Adds a data value to the buffer of values.
      protected void doUpdate()
      Performs the actual histogramming.Implementation is left to subclasses
      int getOverflow()  
      int getUnderflow()  
      Number getY​(int series, int item)  
      double getYValue​(int series, int item)  
      • Methods inherited from class

        addBin, addObservation, addObservation, addObservations, clearObservations, clone, equals, getAdjustForBinSize, getDomainOrder, getEndX, getEndXValue, getEndY, getEndYValue, getItemCount, getSeriesCount, getSeriesKey, getStartX, getStartXValue, getStartY, getStartYValue, getX, getXValue, removeAllBins, setAdjustForBinSize
      • Methods inherited from class

        indexOf, seriesChanged
      • Methods inherited from class

        addChangeListener, fireDatasetChanged, getGroup, getNotify, hasListener, removeChangeListener, setGroup, setNotify, validateObject
      • Methods inherited from interface

        addChangeListener, getGroup, removeChangeListener, setGroup
      • Methods inherited from interface

    • Constructor Detail

      • StaticHistogramDataset

        public StaticHistogramDataset​(Comparable<?> key,
                                      double min,
                                      double max,
                                      int numBins,
                                      OutOfRangeHandling ooHandling)
    • Method Detail

      • addValues

        protected void addValues​(cern.colt.list.DoubleArrayList vals)
        Description copied from class: AbstractHistogramDataset
        Adds a data value to the buffer of values. These values will be histogrammed on a call to #update().
        Specified by:
        addValues in class AbstractHistogramDataset
      • getY

        public Number getY​(int series,
                           int item)
        Specified by:
        getY in interface
        getY in class
      • getYValue

        public double getYValue​(int series,
                                int item)
        Specified by:
        getYValue in interface
        getYValue in class
      • getOverflow

        public int getOverflow()
      • getUnderflow

        public int getUnderflow()