Panning and zooming in Android

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
investsoft
Newbie
Newbie
Posts: 5
Joined: Mon Mar 05, 2012 12:00 am

Panning and zooming in Android

Post by investsoft » Wed Mar 07, 2012 3:16 pm

Hello,
I would like to know if it is possible to have both features in the same chart, maybe zoom with pinch and panning with one finger movment.
I now have panning working in this way:

Code: Select all

chart.getPanning().setMouseButton(FrameworkMouseEvent.BUTTON1);
chart.getPanning().setAllow(ScrollMode.HORIZONTAL);
Your help will be very much appreciated,
Meir, Investsoft ltd.

Yeray
Site Admin
Site Admin
Posts: 9514
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Panning and zooming in Android

Post by Yeray » Wed Mar 07, 2012 4:50 pm

Hi Meir,

Take a look at the "Tutorial 8 - Zoom and Scroll". You could use ZoomStyle.FULLCHART as explained there.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

mzagal
Newbie
Newbie
Posts: 2
Joined: Tue Nov 13, 2012 12:00 am

Re: Panning and zooming in Android

Post by mzagal » Mon Nov 19, 2012 2:50 am

I use ZoomStyle.FULLCHART but get a poor performance, maybe I do something wrong, but I read other cases the same thing happens, for guidance on multi touch zoom, is a video where I show what happens, it only works when I put four fingers in the tablet (samsung)

http://www.youtube.com/watch?v=JHE08Ren11U

Marc
Site Admin
Site Admin
Posts: 1209
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: Panning and zooming in Android

Post by Marc » Mon Nov 19, 2012 11:48 am

Hello,

We'll look at this more closely to see if we can come up with any suggestions or improvements.

Regards,
Marc Meumann
Steema Support

mzagal
Newbie
Newbie
Posts: 2
Joined: Tue Nov 13, 2012 12:00 am

Re: Panning and zooming in Android

Post by mzagal » Mon Nov 19, 2012 12:50 pm

Hello,

thanks for replying, when I could be this release, I see that this problem has at least eight months

regards

Yeray
Site Admin
Site Admin
Posts: 9514
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Panning and zooming in Android

Post by Yeray » Fri Nov 30, 2012 4:13 pm

Hi,

We've added it to the wish list to be revised asap, but I can't tell you when this will be fixed.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply