Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MPAndroidChart for Swift - how to remove grid?

How can I do this? I tried to find method in Xcode, but I couldn't - in android documentation they have different names

like image 794
Alexey K Avatar asked Aug 04 '15 09:08

Alexey K


Video Answer


1 Answers

  chartView.leftAxis.drawGridLinesEnabled = false
  chartView.rightAxis.drawGridLinesEnabled = false
  chartView.xAxis.drawGridLinesEnabled = false
like image 140
Hamza Ansari Avatar answered Nov 14 '22 21:11

Hamza Ansari