Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide border using mpandroidchart 2.0.7

I'm using MPAndroidChart library 2.0.7. How can I hide the border ? In the version 1.7.4, the method setDrawBorder(boolean) was available, it is not the case anymore :(

Thanks a lot !

like image 448
Kmel Avatar asked Mar 13 '15 23:03

Kmel


1 Answers

Version 3.0.0 out now.

You can call

  • chart.setDrawBorders(boolean) to enable / disable drawing the border
  • yaxis.setDrawAxisLine(boolean) to enable / disable the lines drawn alongside the y-axis, same goes for the x-axis

If you set everything to false, no more borders should be drawn.

like image 191
Philipp Jahoda Avatar answered Nov 15 '22 11:11

Philipp Jahoda