hello,
I am using Teechart for Xamarin.Android. I would like to allow users to scroll horizontally ONLY through 1 week of data on a timeline. I don't want pinch/zoom or vertical scroll. i can't seem to find the proper settings to have these options work correctly.
Has anyone gotten this working properly?
What I have done so far is to load the Chart in a parent view and then manually handle the horizontal scroll on the chart by using the scroll events in the parent view and setting Min/Max on the chart when user scrolls. I would really prefer to use the built-in scrollability which is much smoother, and I presume better on memory.
Thanks in advance for your time
Xamarin.Android - Horizontal Scroll ONLY
-
- Newbie
- Posts: 1
- Joined: Wed May 08, 2013 12:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Xamarin.Android - Horizontal Scroll ONLY
Hello,
For now you can not set horizontal scroll only. You can disable zoom and scroll using:
This is not fully implemented as it should perfrom traditional TeeChart desktop zoom and scroll, horizontal scroll included. For now, it does nothing on this field but offers some advantages on rendering performance. Alternatively you can use:
which is intended to use and optimized for real-time applications.
You can also scroll a chart horizontally by modifying bottom axis range using its SetMinMax method upon your desired action.
For now you can not set horizontal scroll only. You can disable zoom and scroll using:
Code: Select all
tChart1.Zoom.Style = Steema.TeeChart.ZoomStyles.Classic;
Code: Select all
tChart1.Zoom.Style = Steema.TeeChart.ZoomStyles.None;
You can also scroll a chart horizontally by modifying bottom axis range using its SetMinMax method upon your desired action.
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 |