Remove all slice text from Pie Chart (ios-charts/mpandroidchart)
To remove the Y-Values
Use dataset.setDrawValues(false);
To remove the X-Values
Use MyPieChart.setDrawSliceText(false);
Never mind figured it out!
pieChartView.data?.setValueTextColor(UIColor.clearColor())
That at least gets it from not seeing those labels.
Also another way is setting this to false:
drawLabelsEnabled
For Charts Version 3.2.1
Both X - Y values enabled
pieChartDataSet.drawValuesEnabled = true
pieChartView.drawEntryLabelsEnabled = true
To remove the Y-Values
pieChartDataSet.drawValuesEnabled = false
To remove the X-Values
pieChartView.drawEntryLabelsEnabled = false