fix axis
This commit is contained in:
parent
96d760ba62
commit
4231557c9f
1 changed files with 3 additions and 3 deletions
|
@ -1296,7 +1296,7 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
|
||||||
List<DataPoint> iobArray = new ArrayList<>();
|
List<DataPoint> iobArray = new ArrayList<>();
|
||||||
List<DataPoint> cobArray = new ArrayList<>();
|
List<DataPoint> cobArray = new ArrayList<>();
|
||||||
List<DeviationDataPoint> devArray = new ArrayList<>();
|
List<DeviationDataPoint> devArray = new ArrayList<>();
|
||||||
double lastIob = -1000;
|
double lastIob = 0;
|
||||||
int lastCob = 0;
|
int lastCob = 0;
|
||||||
for (long time = fromTime; time <= now; time += 5 * 60 * 1000L) {
|
for (long time = fromTime; time <= now; time += 5 * 60 * 1000L) {
|
||||||
if (showIobView.isChecked()) {
|
if (showIobView.isChecked()) {
|
||||||
|
@ -1553,8 +1553,8 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
|
||||||
paint.setColor(Color.WHITE);
|
paint.setColor(Color.WHITE);
|
||||||
seriesNow.setCustomPaint(paint);
|
seriesNow.setCustomPaint(paint);
|
||||||
seriesNow2.setCustomPaint(paint);
|
seriesNow2.setCustomPaint(paint);
|
||||||
bgGraph.onDataChanged(true, true);
|
bgGraph.onDataChanged(false, false);
|
||||||
iobGraph.onDataChanged(true, true);
|
iobGraph.onDataChanged(false, false);
|
||||||
|
|
||||||
if (updating != null)
|
if (updating != null)
|
||||||
updating.setVisibility(View.GONE);
|
updating.setVisibility(View.GONE);
|
||||||
|
|
Loading…
Reference in a new issue