EnvironmentGraphingData
constructor(metrics: List<Telemetry>, shouldPlot: List<Boolean>, leftMinMax: Pair<Float, Float> = Pair(0f, 0f), rightMinMax: Pair<Float, Float> = Pair(0f, 0f), times: Pair<Int, Int> = Pair(0, 0))(source)
Parameters
metrics
the List of Telemetry
shouldPlot
a List the size of Environment used to determine if a metric should be plotted
leftMinMax
Pair with the min and max of the barometric pressure
rightMinMax
Pair with the combined min and max of: the temperature, humidity, and IAQ
times
Pair with the oldest and newest times in that order