Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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

dnschnur opened this Issue Sep 28, 2012 · 1 comment


None yet
1 participant

dnschnur commented Sep 28, 2012

Original author: vpa...@gmail.com (April 20, 2010 15:58:07)

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: http://code.google.com/p/flot/issues/detail?id=336


dnschnur commented Sep 28, 2012

From lam.pas...@gmail.com on May 05, 2010 23:50:22
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment