3

I'm using charts in iOS to draw bar chart. But in the bar chart that I'm getting, some whitespace occurs between the bottom of the bars and the x-axis. How can I reduce or eliminate this ?

enter image description here

Sneha
  • 2,200
  • 6
  • 22
  • 36

1 Answers1

12

This issue is reported here.

Following is the fix.

barChartView.leftAxis.spaceBottom = 0.0
Elavarasan
  • 186
  • 1
  • 6