Open GoogleCodeExporter opened 8 years ago
Nice page!
Well, either there's a bug in Flot in that it's using the wrong functions to
calculate the position, or there's a bug in jQuery, or this is just doing
something weird to the sizes. If you could figure out where the calculations go
wrong in Flot, it would be most helpful.
Original comment by olau%iol...@gtempaccount.com
on 13 Dec 2010 at 5:19
This seems related to 301 which has a bit more analysis. Thanks for the report!
Original comment by olau%iol...@gtempaccount.com
on 11 Mar 2011 at 4:51
OK, I've looked into this, and the problem is that Flot is using .offset() to
calculate the offset as that's what's provided by jQuery. Unfortunately, when
you lookup this in the jQuery documentation, it explicitly states that it does
not support "accounting for borders, margins, or padding set on the body
element."
So without some other cross-browser method of finding the offset of the hover
or click inside the placeholder, I guess the best work-around is to not set the
border/padding/margin of body for the time being.
If anyone can figure out a better way to find the offset than what's currently
done, that would be nice.
Original comment by olau%iol...@gtempaccount.com
on 15 Mar 2011 at 5:09
Original comment by olau%iol...@gtempaccount.com
on 15 Mar 2011 at 5:10
Original comment by dnsch...@gmail.com
on 8 May 2012 at 12:33
Original issue reported on code.google.com by
TnidT...@gmail.com
on 9 Jun 2010 at 10:57