You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I setup my view controllers in a storyboard with autolayout, I end up with a JBBarChartView that starts animating the bars on viewDidAppear, but then the bars just stop and disappear (1st image below). On the other hand, an identical setup that I create in code rather than in storyboard works just fine (2nd image below).
The text was updated successfully, but these errors were encountered:
Oh, I see! Yeah, the problem was just a lack of data when it initialized from a storyboard.
Beyond that, to prevent an exception where the graph view's size has not yet been determined when using auto layout constraints, I had to add my constraints in viewDidLoad and then add my footerView and headerView in viewDidLayoutSubviews.
When I setup my view controllers in a storyboard with autolayout, I end up with a
JBBarChartView
that starts animating the bars onviewDidAppear
, but then the bars just stop and disappear (1st image below). On the other hand, an identical setup that I create in code rather than in storyboard works just fine (2nd image below).The text was updated successfully, but these errors were encountered: