I've created a line chart by using Charts. I need to remove data points values (Which is on the line). Is there any accessible parameter to disable this? Thanks

if you want to remove dots too:
let set = LineChartDataSet(values: yVals, label: "Y")
set.drawValuesEnabled = false
set.drawCirclesEnabled = false
You can use the setDrawValues function. It enables/disables drawing values.
let data = LineChartData(dataSet: set1)
data.setDrawValues(false)
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