summaryrefslogtreecommitdiff
path: root/jquery.flot.js
diff options
context:
space:
mode:
Diffstat (limited to 'jquery.flot.js')
-rw-r--r--jquery.flot.js10
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;