From ab2519d8fd6946df05bc25a381c7b573c027cc49 Mon Sep 17 00:00:00 2001 From: Klaus Weidner Date: Thu, 20 Feb 2014 19:25:09 -0800 Subject: [PATCH] Fix bad 'g' argument for drawHighlightPointCallback. --- dygraph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dygraph.js b/dygraph.js index 18715f5..8ce50dc 100644 --- a/dygraph.js +++ b/dygraph.js @@ -2069,7 +2069,7 @@ Dygraph.prototype.updateSelection_ = function(opt_animFraction) { ctx.lineWidth = this.getNumericOption('strokeWidth', pt.name); ctx.strokeStyle = color; ctx.fillStyle = color; - callback(this.g, pt.name, ctx, canvasx, pt.canvasy, + callback(this, pt.name, ctx, canvasx, pt.canvasy, color, circleSize, pt.idx); } ctx.restore(); -- 2.7.4