I'm unable to inset the graph using the setViewPortOffsets or setExtraOffsets or restrainViewPort or by using the ViewPortHandler.
See the "Default" look in the image I drew below vs. what I want it to look like where the first and last data points are inset a bit instead of right on the edge. If this isn't possible right now, could it be added to the library?

This may be related to another issue that was just filed here: https://github.com/PhilJay/MPAndroidChart/issues/3104.
maybe
chart.getXAxis().setAxisMaximum(chart.getLineData().getXMax() + 0.5f);
chart.getXAxis().setAxisMinimum(chart.getLineData().getXMin() - 0.5f);
Most helpful comment
maybe