Reputation: 305
I am using MPAndroidChart and couldn't figure out how to hide the values on the points in my LineChart.
Screen shot:
Have you got any suggestion on how to do it?
Thanks!
Upvotes: 3
Views: 3723
Reputation: 1036
Another way to do it for all datasets chart.setMaxVisibleValueCount(0)
Upvotes: 0
Reputation: 477
hide value for more than one data set
Linedata data= new LineData(dataSets);
data.setDrawValues(false);
hide single data set
datasetname.setDrawValues(false);
Upvotes: 2
Reputation: 51411
You can hide them by calling dataSet.setDrawValues(false)
on your LineDataSet
object.
Upvotes: 6