Overview: fix rendering zero-temp covering entire displayed range.
(cherry picked from commit 525eaef)
This commit is contained in:
parent
80e81b1c25
commit
b04eee0b52
|
@ -172,7 +172,7 @@ public class GraphData {
|
||||||
lastAbsoluteLineBasal = absoluteLineValue;
|
lastAbsoluteLineBasal = absoluteLineValue;
|
||||||
lastLineBasal = baseBasalValue;
|
lastLineBasal = baseBasalValue;
|
||||||
lastTempBasal = tempBasalValue;
|
lastTempBasal = tempBasalValue;
|
||||||
maxBasalValueFound = Math.max(maxBasalValueFound, basal);
|
maxBasalValueFound = Math.max(maxBasalValueFound, Math.max(tempBasalValue, baseBasalValue));
|
||||||
}
|
}
|
||||||
|
|
||||||
basalLineArray.add(new ScaledDataPoint(toTime, lastLineBasal, basalScale));
|
basalLineArray.add(new ScaledDataPoint(toTime, lastLineBasal, basalScale));
|
||||||
|
|
Loading…
Reference in a new issue