My text in xAxes of BarChart from MPAndroidChart is too long. How I can rotate label of xAxes by 90 degrees?
Now it is possible in library version 2.1.6
try this
XAxis xAxis=barChart.getXAxis();
xAxis.setLabelRotationAngle(-45);
It is simple, try this...
XAxis xAxis = barChart.getXAxis();
xAxis.setLabelRotationAngle(90);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With