From df75aef5d3eb2056253841c2522e61ecf5dc53a2 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 e6b971b..38dd1f4 100644 --- a/dygraph.js +++ b/dygraph.js @@ -2027,7 +2027,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