diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/OverviewFragment.java b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/OverviewFragment.java index 7d81f307a2..2723dd7757 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/OverviewFragment.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/OverviewFragment.java @@ -1391,7 +1391,7 @@ public class OverviewFragment extends Fragment implements View.OnClickListener, iobGraph.getSeries().clear(); - if (showIobView.isChecked()) { + if (showIobView.isChecked() && iobData.length > 0) { addSeriesWithoutInvalidate(iobSeries, iobGraph); } if (showCobView.isChecked() && cobData.length > 0) {