jiezawsze / flot

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

[patch] pie chart hover over slice fix: tilt compensation for all browsers, and IE workaround fix #336

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Patch against jquery.flot.pie.js r228, mostly in findNearbySlice()

1) Tilt compensation for all browsers by transforming mouse y-coordinate 
before checking against slices.

2) IE workaround fixed to get pixel-perfect detection by using math instead 
of approximating the slices with pentagons (try tracing the round edge of a 
large slice), eliminating the need for isPointInPoly().

Original issue reported on code.google.com by vpa...@gmail.com on 20 Apr 2010 at 3:58

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by olau%iol...@gtempaccount.com on 21 Apr 2010 at 8:41

GoogleCodeExporter commented 8 years ago
Hi there,

First I would like to thank you for the workaround fix.  Other than that I'm 
kind of
new with those patch and diff file.  So I applied the patch manually.  I know 
it's
sad but i didn't find any tools that could do it for me.

Other than that... I still have the same error in IE6 and IE8 on the line 541 
and 542.

Original comment by lam.pas...@gmail.com on 5 May 2010 at 11:50

GoogleCodeExporter commented 8 years ago

Original comment by dnsch...@gmail.com on 9 May 2012 at 12:51