plot in plot fragment will now always render from 0 to 100 on the y axis

This commit is contained in:
paul-loedige 2021-01-08 09:39:43 +01:00
parent 4d9edac29a
commit 8cf387a79f

View File

@ -122,6 +122,7 @@ public class PlotFragment extends Fragment {
maxX = values.length;
}
}
graphView.getViewport().setMinY(0);
graphView.getViewport().setMaxY(100);
graphView.getViewport().setMaxX(maxX);
graphView.getViewport().setXAxisBoundsManual(true);