plot in plot fragment will now always render from 0 to 100 on the y axis
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user