Class IHistogram
- java.lang.Object
-
- com.inductiveautomation.factorypmi.application.components.chart.easychart.IHistogram
-
- Direct Known Subclasses:
AggregatingHistogram
,TimestampQueryBackedHistogram
public abstract class IHistogram extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IHistogram()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract float[]
createHistogramArray(long startDate, long endDate, int width)
Create an array of floats 0.0-1.0 representing the histogram between the two dates.protected long
widthToDate(int x, long startDate, long endDate, int width)
-
-
-
Method Detail
-
createHistogramArray
public abstract float[] createHistogramArray(long startDate, long endDate, int width)
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.
-
widthToDate
protected long widthToDate(int x, long startDate, long endDate, int width)
-
-