RWBarChartView
RWBarChartView copied to clipboard
Scroll both charts simultaneously.
Hi, Nice library, easy to use and integrate. I have a query how can we scroll the second graph accordingly if user scrolls the first one and vice versa, like tapping on right navigation bar button item. ?
Waiting for your early and positive response. Thanks.
Maybe you can take a look at https://gist.github.com/eternityz/b452ce9dd1f05ab8dd26, that might be what you need. (Replace RWDemoViewController.m with the gist, then run the demo again).
What I did in this gist is to keep both chart views having the same content offset in scrollViewDidScroll:
. That trick only works if both chart views have the same appearance setup (bar width, bar padding, space padding, axis setup, etc.).
Can I add a dedicated x-axis at the bottom of the bars?