-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple Chart View Within ScrollView #65
Comments
Well I can't see your code so I can't tell- but it CAN diaable your scroll בתאריך יום שלישי, 5 במאי 2015, BurhanMughal notifications@github.com כתב:
|
well Code is simple I just put chart views in a scroll view, and that's it. |
Well I'm sure the code is simple, but every setup is different. So you can On Tue, May 5, 2015 at 12:17 PM, BurhanMughal notifications@github.com
|
How i can upload text file of my code ? |
Just put a sample project on a git repo and send a link On Tue, May 5, 2015 at 12:51 PM, BurhanMughal notifications@github.com
|
https://github.com/BurhanMughal/MyFiles/blob/master/piechart.m Please have a look. |
Waiting for your response. |
That file won't compile. It's not a test case, but a piece of a very dependent code... Anyway I've put 3 charts like you in a scrollview, and it scrolls just fine! |
Hi Daniel How to check chart is zoomed in ? |
Can we show Pie chart Value out of slice instead showing inside the slice ? |
I got the Issue cause, chat.dragEnabled = YES; But I need both dragEnabled = YES and Scroll View scrolling as well. Any Idea ?? |
Can one control 2 charts with one scroll, i.e. One View controller has two bar charts in it, If user scrolls one chart second chart should also be scrolled accordingly (Same for Pinch Zoom)? Thanks. |
Holy moly this thread is a mess, so many different topics... @BurhanMughal , regarding your last question, yes, you can do that. Simply disable all gesture recognizers of the charts and add those to your ScrollView. These recognizers then handle the transformations for all your charts. |
I'm keeping this open- because I want when I get the time, to let the drag gesture know it's not needed when you are zoomed out, and maybe when it reaches the edge. |
Seems like UiView is handling the touches against the gestures and decides when to pass them on based on a delegate call so that's where I'll intervene. |
… (issue #65) This will play nice with other gesture recognizers, especially good for when inside a scrollview. It is disabled by default.
In PieChart/RadarChart, you should now enable |
I'm working on a combination where you would be able to let all the Charts play together with ScrollView, by just disabling the |
Can we scroll line chart horizontally? |
Hi Daniel,
I have another problem to cope with,
I have multiple charts to view in One ViewController Scene,
i - Pie Chart
ii - Scattered Chart
iii - Bar Chart
Problem is :
I think Chart view is eating scroll of My Scroll view, Or am I missing something ?
Thanks.
The text was updated successfully, but these errors were encountered: