sunjavagroups / flot

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

Resize works with jquery 1.5, but not 1.6 #569

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The resize plugin seems to work with jquery 1.5, but does not work with 1.6 
(div scales, but graph size is unaffected at all).

The reason is that r is undefined at this line:

r.w = o !== c ? o : q.width(); 

Original issue reported on code.google.com by konrad.g...@gmail.com on 9 Jul 2011 at 12:02

GoogleCodeExporter commented 8 years ago
It seems to only be an issue if you reference jquery mobile. Strange. jquery 
mobile with core 1.5 works fine, with 1.6 is broken. Probably too many tangled 
dependencies here.

Original comment by konrad.g...@gmail.com on 9 Jul 2011 at 12:07

GoogleCodeExporter commented 8 years ago
User error. Please close.

In case it was of any help to anyone - with jquery mobile you need to draw the 
chart in pageshow event, not the jquery classic standard "page loaded".

Original comment by konrad.g...@gmail.com on 11 Jul 2011 at 8:27

GoogleCodeExporter commented 8 years ago

Original comment by dnsch...@gmail.com on 1 May 2012 at 11:37