Simulate ScrollPager on Android?
-
- Newbie
- Posts: 16
- Joined: Wed Feb 27, 2013 12:00 am
Simulate ScrollPager on Android?
Since it appears that TeeChart for Xamarin.Android doesn't support scroll pager, I'm wondering if there is any way to simulate it? Perhaps using a transparent, movable Gantt that overlays my "overview" series and update the min/max of the "detail" series based upon the Gantt position? Any other ideas?
Thanks,
Jeremy
Thanks,
Jeremy
-
- Newbie
- Posts: 16
- Joined: Wed Feb 27, 2013 12:00 am
Re: Simulate ScrollPager on Android?
The Android version lacks the GanttTool, and thus it doesn't seem that there is any way to drag the Gantt rectangle. The RectangleTool is also missing, so that doesn't appear to be a viable option. The ColorBand tool is present, however I don't immediately see a way to make it draggable. (I'm also having trouble binding it to my horizontal axis, although I'm sure this must be possible).
Any suggestions to achieve this effect on Android will be much appreciated!
Any suggestions to achieve this effect on Android will be much appreciated!
Re: Simulate ScrollPager on Android?
Hi Jeremy,
I've added the possibility to implement the ScrollPager tool for TeeChart .NET for Xamarin.Android (TM63016697).
In the meanwhile, have you tried to use the touch events to implement your own dragging features?
Also, I think the SubChart tool is usable in TeeChart for Xamarin.Android.
Then, you could try to combine this tool and the touch events to implement a custom ScrollPager tool.
I've added the possibility to implement the ScrollPager tool for TeeChart .NET for Xamarin.Android (TM63016697).
In the meanwhile, have you tried to use the touch events to implement your own dragging features?
Also, I think the SubChart tool is usable in TeeChart for Xamarin.Android.
Then, you could try to combine this tool and the touch events to implement a custom ScrollPager tool.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 16
- Joined: Wed Feb 27, 2013 12:00 am
Re: Simulate ScrollPager on Android?
I got this working with mouse events and a ColorBand on WPF, which should port over to touch events and ColorBand on Android. Thanks!
Re: Simulate ScrollPager on Android?
Hi,
Great! Thanks for telling us how have you solved it!
Great! Thanks for telling us how have you solved it!
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 11
- Joined: Tue Feb 19, 2013 12:00 am
Re: Simulate ScrollPager on Android?
Hi Jeremy,
We are also working on this issue. Would you please share your code with us? We would appreciate your assistance!
Thank you!
We are also working on this issue. Would you please share your code with us? We would appreciate your assistance!
Thank you!
-
- Newbie
- Posts: 11
- Joined: Tue Feb 19, 2013 12:00 am
Re: Simulate ScrollPager on Android?
Hi Support,
How can I also implement this by the way Jeremy mentioned?
How can I also implement this by the way Jeremy mentioned?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Simulate ScrollPager on Android?
Hi benlu,
The ScrollPager tool bascially consists of a SubChart tool below the main chart. It is in synch with the main chart setting its bottom axis scales via the ColorBand tool start and end values, which determine the range that will be plotted in the main chart. You should use touch events to change ColorBand start and end values. Have you tried that? Which difficulties did you come across?
The ScrollPager tool bascially consists of a SubChart tool below the main chart. It is in synch with the main chart setting its bottom axis scales via the ColorBand tool start and end values, which determine the range that will be plotted in the main chart. You should use touch events to change ColorBand start and end values. Have you tried that? Which difficulties did you come across?
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 11
- Joined: Tue Feb 19, 2013 12:00 am
Re: Simulate ScrollPager on Android?
can you show me a sample?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Simulate ScrollPager on Android?
Hi benlu,
There's a problem with SubChartTool (bug ID87) that doesn't allow doing this for now. We will try to fix the problem.
There's a problem with SubChartTool (bug ID87) that doesn't allow doing this for now. We will try to fix the problem.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |