Commit Graph

16 Commits (2b1f934336efaf730acf7da222908434624323a1)

Author SHA1 Message Date
David Schnur b3a19afb05 Comment out bizzarre impossible code. 14 years ago
David Schnur 179bed9617 Declare variables that should have been local. 14 years ago
David Schnur eac2d075f0 Removed extra comma that was causing IE7 errors. 14 years ago
David Schnur 7ee31a6099 Added work-around for the Excanvas 100% arc bug.
When a slice equals (or comes close enough that it is equal in
floating-point representation) 100% of the pie, it was no longer drawn
by Excanvas.  This is because of a long-standing issue where VML won't
draw an arc whose begin and end are the same.  Rather than some hack,
like adding/subtracting a small value, we'll simply draw two arcs for
every slice, with each covering half of the slice's angle.
14 years ago
David Schnur 6aa3696e59 Further style cleanup. 14 years ago
David Schnur 0a601d037b Cleaned up whitespace, braces and strings. 14 years ago
David Schnur 5951dcb03c Ensure that pie's legendWidth remains numeric.
Substitute zero when .width() returns undefined, since legendWidth is
used in numeric calculations that break when it is undefined.  This
became a problem with the release of jQuery 1.8.0, which returns
undefined instead of null when an element doesn't exist.  This was fixed
in 1.8.1, but this is good practice anyway.
14 years ago
Lau Bech Lauritzen a175706711 Use placeholder dimensions instead og canvas dimensions in calculations which fixes draw bug after introducing Retina support in Flot core 14 years ago
Julien Thomas b48f1aa9e7 Pie: Allow to set shadow distance and alpha of a tilted pie 14 years ago
Julien Thomas c095d66be3 Pie: Whitespace cleanup, this file uses tabs for indentation 14 years ago
David Schnur d0fba4a5b9 Prevent pie slice outlines from being drawn when the stroke width is zero (issue 585) 14 years ago
Ole Laursen b2fedcd828 Fix recently introduced bug in pie plugin pointed out by Chris R. Patterson 15 years ago
Ole Laursen 2d2ca32a5c Fix problem with null values and pie plugin (patch by gcruxifix) 15 years ago
olau@iola.dk 147f940e5b Fix problem with floating point comparison (report and patch by jparish9001)
git-svn-id: https://flot.googlecode.com/svn/trunk@286 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk 4363320767 Fix bug with unhighlighting slices (fix by Johan Sall Larson)
git-svn-id: https://flot.googlecode.com/svn/trunk@279 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
the.d0rp 7cbc14160e git-svn-id: https://flot.googlecode.com/svn/trunk@228 1e0a6537-2640-0410-bfb7-f154510ff394 17 years ago