How to hide labels in ios-charts?
I need disable some elements from my chart. I used the iOS-charts library in (Swift 2), however I can't understand how to disable the following: Hide right and left numbers Hide description color square Hide all vertical lines self.chartView.xAxis.drawGridLinesEnabled = false self.chartView.leftAxis.drawLabelsEnabled = false self.chartView.legend.enabled = false will do the job 来源: https://stackoverflow.com/questions/36713996/how-to-hide-labels-in-ios-charts