diff options
author | Igor Sfiligoi <isfiligoi@ucsd.edu> | 2009-05-10 21:49:12 -0400 |
---|---|---|
committer | Igor Sfiligoi <isfiligoi@ucsd.edu> | 2009-05-10 21:49:12 -0400 |
commit | bf64e197b39d3f10b6145612802a6f169248cb45 (patch) | |
tree | 78f7f0a40d1c30e19755554218142a4c39e1f3c8 /jquery.flot.js | |
parent | 1fd4de1b25398954e9ab43e54d0d0fdf1b5cfce0 (diff) |
flot-0.6pre@154
Diffstat (limited to 'jquery.flot.js')
-rw-r--r-- | jquery.flot.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/jquery.flot.js b/jquery.flot.js index 27358ba..e2fd767 100644 --- a/jquery.flot.js +++ b/jquery.flot.js @@ -416,6 +416,9 @@ p.push(x); p.push(y); + + for (m = 2; m < incr; ++m) + p.push(points[j + m]); } // possibly split lines @@ -481,6 +484,9 @@ if (canvasWidth <= 0 || canvasHeight <= 0) throw "Invalid dimensions for plot, width = " + canvasWidth + ", height = " + canvasHeight; + if ($.browser.msie) // excanvas hack + window.G_vmlCanvasManager.init_(document); // make sure everything is setup + // the canvas canvas = $(makeCanvas(canvasWidth, canvasHeight)).appendTo(target).get(0); ctx = canvas.getContext("2d"); @@ -496,7 +502,7 @@ // bind events if (options.selection.mode != null || options.crosshair.mode != null || options.grid.hoverable) { - // FIXME: temp. work-around until jQuery bug 1871 is fixed + // FIXME: temp. work-around until jQuery bug 4398 is fixed eventHolder.each(function () { this.onmousemove = onMouseMove; }); @@ -1778,7 +1784,7 @@ } function onMouseMove(ev) { - // FIXME: temp. work-around until jQuery bug 1871 is fixed + // FIXME: temp. work-around until jQuery bug 4398 is fixed var e = ev || window.event; if (e.pageX == null && e.clientX != null) { var de = document.documentElement, b = document.body; |