Class TimestampQueryBackedHistogram
java.lang.Object
com.inductiveautomation.factorypmi.application.components.chart.easychart.IHistogram
com.inductiveautomation.factorypmi.application.components.chart.easychart.TimestampQueryBackedHistogram
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat[]
createHistogramArray
(long startDate, long endDate, int width) Create an array of floats 0.0-1.0 representing the histogram between the two dates.protected Date
getDensityDate
(int row, int column) Java isn't always clear on whether the density dataset has strings that look like dates or dates that are stored as strings.Methods inherited from class com.inductiveautomation.factorypmi.application.components.chart.easychart.IHistogram
widthToDate
-
Constructor Details
-
TimestampQueryBackedHistogram
-
-
Method Details
-
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 classIHistogram
-
getDensityDate
Java isn't always clear on whether the density dataset has strings that look like dates or dates that are stored as strings. Helper function to avoid ClassCastException
-