do not add empty iob series
This commit is contained in:
parent
f6650e33e4
commit
b603fce8c7
1 changed files with 1 additions and 1 deletions
|
@ -1391,7 +1391,7 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
|
||||||
|
|
||||||
iobGraph.getSeries().clear();
|
iobGraph.getSeries().clear();
|
||||||
|
|
||||||
if (showIobView.isChecked()) {
|
if (showIobView.isChecked() && iobData.length > 0) {
|
||||||
addSeriesWithoutInvalidate(iobSeries, iobGraph);
|
addSeriesWithoutInvalidate(iobSeries, iobGraph);
|
||||||
}
|
}
|
||||||
if (showCobView.isChecked() && cobData.length > 0) {
|
if (showCobView.isChecked() && cobData.length > 0) {
|
||||||
|
|
Loading…
Reference in a new issue