plot in plot fragment will now always render from 0 to 100 on the y axis
This commit is contained in:
parent
4d9edac29a
commit
8cf387a79f
@ -122,6 +122,7 @@ public class PlotFragment extends Fragment {
|
|||||||
maxX = values.length;
|
maxX = values.length;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
graphView.getViewport().setMinY(0);
|
||||||
graphView.getViewport().setMaxY(100);
|
graphView.getViewport().setMaxY(100);
|
||||||
graphView.getViewport().setMaxX(maxX);
|
graphView.getViewport().setMaxX(maxX);
|
||||||
graphView.getViewport().setXAxisBoundsManual(true);
|
graphView.getViewport().setXAxisBoundsManual(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user