Class IHistogram
java.lang.Object
com.inductiveautomation.factorypmi.application.components.chart.easychart.IHistogram
- Direct Known Subclasses:
AggregatingHistogram
,TimestampQueryBackedHistogram
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract 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)
-
Constructor Details
-
IHistogram
public IHistogram()
-
-
Method Details
-
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)
-