I am using barchart from mpandroidchart library.
I want to hide the x-axis values, but I am not able to hide the values. Please help me through it. I used the following code but it doesn't work.
barChart.getXAxis().removeAllLimitLines();
You want to hide only the labels of the axis, call xAxis.setDrawLabels(false)
If you want to hide the whole axis, call xAxis.setEnabled(false)
It's all in the documentation.
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