philackm / ScrollableGraphView

An adaptive scrollable graph view for iOS to visualise simple discrete datasets. Written in Swift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ease out animation bug

omerbaskurt opened this issue · comments

Hi, thanks for this great library. I noticed a problem on the bar graph when reloading a new data set with default animation. This behavior does not happen when not using any animation or using the elastic one.
This is the first state of the graph:
1
After reloading with the new data set:
2
Notice how the second and the fourth one is slightly thicker than others becuase their first state was higher. Second data set was all 0s. The same problem occurs the other way around too. It doesn't go all the way up to the last reference line.