fix iob rendering
This commit is contained in:
parent
a07a8755b1
commit
80305aae3a
|
@ -1061,7 +1061,7 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
|
||||||
//maxCobValueFound = Math.max(maxCobValueFound, mealData.mealCOB);
|
//maxCobValueFound = Math.max(maxCobValueFound, mealData.mealCOB);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
iobArray.add(iobArray.get(0)); // close the path
|
iobArray.add(new DataPoint(fromTime, 0)); // close the path
|
||||||
DataPoint[] iobData = new DataPoint[iobArray.size()];
|
DataPoint[] iobData = new DataPoint[iobArray.size()];
|
||||||
iobData = iobArray.toArray(iobData);
|
iobData = iobArray.toArray(iobData);
|
||||||
iobSeries = new LineGraphSeries<>(iobData);
|
iobSeries = new LineGraphSeries<>(iobData);
|
||||||
|
|
Loading…
Reference in a new issue