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();
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();
On
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.
Workaround:
Define transparent color:
And then, set the axis line color: