From: Klaus Weidner Date: Fri, 21 Feb 2014 03:25:09 +0000 (-0800) Subject: Fix bad 'g' argument for drawHighlightPointCallback. X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=ab2519d8fd6946df05bc25a381c7b573c027cc49;p=dygraphs.git Fix bad 'g' argument for drawHighlightPointCallback. --- 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();