sunjavagroups / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

jquery.flot.navigate.js and touch screen (mobile) #704

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am successfully using flot to plot statistical data based on time. My 
application allows zooming in/out of a line plot and panning along x-axis.

Unfortunately the panning does not work on iOS (iPhone, iPad). I realize that 
jquery.event.drag 1.5 is included in jquery.flot.navigate and thought maybe the 
version is too old to support mobile. Alas updating to jquery.event.drag 2.2 
(and jQuery 1.7.2) does not fix the problem.

Has anybody encountered this as well and maybe got a solution? Is may "attack" 
vector even valid?

Thanks

Original issue reported on code.google.com by jamg...@gmail.com on 13 Jun 2012 at 5:22

GoogleCodeExporter commented 8 years ago
Reviewing & fixing interaction (of all kinds, not just drag) on mobile devices 
is something we definitely need to do.

Original comment by dnsch...@gmail.com on 15 Jul 2012 at 7:53

GoogleCodeExporter commented 8 years ago
awesome that this is being developed. I encountered this problem yesterday and 
was somewhat surprized to learn that android devices, unlike iPhone/iPad, do 
not yet fully support pinching for zooming on canvas objects, it just zooms in 
the entire browser page. 
See the section on Device Support in this link:
http://www.html5rocks.com/en/mobile/touch/
Panning should work fine after implementing the touch events on FLOT's overlay 
canvas, for android (I hope).

Original comment by alex.w...@gmail.com on 18 Jul 2012 at 9:40