Reputation: 4506
I'm using iOS-Charts and after upgrading to Swift3, I'm now noticing there is a strange blank space where the description would go at the bottom of the chart. I tried hiding the description (setting it to "" or enabled = false) but it still shows this gap. I'd prefer to just shift everything down so the 0 is nice and neat on the first line. Any ideas?
Image:
Thanks!
Upvotes: 2
Views: 704
Reputation: 876
You can set the minimum axis value so that it hide the above line try this code as
barChartView.leftAxis.axisMinimum = 0
Upvotes: 5