Class AggregatingHistogram


  • public class AggregatingHistogram
    extends IHistogram
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addHistogram​(IHistogram histogram)  
      float[] createHistogramArray​(long startDate, long endDate, int width)
      Create an array of floats 0.0-1.0 representing the histogram between the two dates.
      • Methods inherited from class com.inductiveautomation.factorypmi.application.components.chart.easychart.IHistogram

        widthToDate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AggregatingHistogram

        public AggregatingHistogram()
    • Method Detail

      • createHistogramArray

        public float[] createHistogramArray​(long startDate,
                                            long endDate,
                                            int width)
        Description copied from class: IHistogram
        Create an array of floats 0.0-1.0 representing the histogram between the two dates. The array should have a length of width, exactly, or may be null if no histogram data is available for that timeframe.
        Specified by:
        createHistogramArray in class IHistogram
      • addHistogram

        public void addHistogram​(IHistogram histogram)