MPAndroidChart
MPAndroidChart copied to clipboard
Set order for axes? Invert axes?
Is there any provision by which we can display graph in ascending/ decreasing order of X-Axis or Y-Axis?
Yes. You can invert y-axes if you want to:
chart.getAxisLeft().setInverted(true);
This will let high values appear on the bottom of the chart, low values on top.
The x-axis cannot be manipulated in order.
Be aware that this feature is not included in the latest pre-release, only in the commits ahead.