I’ve been working on setting up a site that uses JQuery Mobile and Flot. The idea is that it can show graphs which you can swipe between.
So far I’ve got this: http://lasmit.co.uk/tmm-graphs/graph2.php
The first graph works fine, but if you swipe to the side the labels appear over the axis line and look off.
I’m sure I’m missing something obvious here so any help would be greatly appreciated.
Flot doesn’t work too well when you call
$.ploton something that is currently not visible. Your best bet is going to be to move your page 2 and 3 graphs intopageshowevents:I made a working example here: http://jsfiddle.net/ryleyb/yZuZb/