fix rendering absolute basal line

This commit is contained in:
Milos Kozak 2018-02-02 14:44:56 +01:00
parent 6312b81e10
commit d9cfe15b87

View file

@ -122,7 +122,7 @@ public class GraphData {
List<ScaledDataPoint> basalLineArray = new ArrayList<>();
List<ScaledDataPoint> absoluteBasalLineArray = new ArrayList<>();
double lastLineBasal = 0;
double lastAbsoluteLineBasal = 0;
double lastAbsoluteLineBasal = -1;
double lastBaseBasal = 0;
double lastTempBasal = 0;
for (long time = fromTime; time < toTime; time += 60 * 1000L) {