iOS - How to determine pan direction?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
alecd4
Newbie
Newbie
Posts: 5
Joined: Mon Sep 10, 2012 12:00 am

iOS - How to determine pan direction?

Post by alecd4 » Tue Sep 11, 2012 2:08 am

Apparently ClickBackground event allows to get UIPanGestureRecognizer event. Unfortunately this event is generated only once with state = Begin. No more pan events are generated. How to determine pan direction?

Also, generally, how to attach a gesture recognizer to a TChart? I tried to attach UISwipeGestureRecognizer but no events were generated. I suspect that existing UIPanGestureRecognizer prevents other recognizers from getting gestures.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: iOS - How to determine pan direction?

Post by Sandra » Wed Sep 12, 2012 10:47 am

Hello alecd4,

If you want achieve do pan using MonoTouch I recommend you add a gesture to view chart as do in next link:
http://www.teechart.net/support/viewtop ... =4&t=13439.
When you added a gesture you must only add the gesture necessaries to achieve do and get scroll directions. If you have any problems, please let me know.

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply