Fix bad 'g' argument for drawHighlightPointCallback.
authorKlaus Weidner <klausw@google.com>
Fri, 21 Feb 2014 03:25:09 +0000 (19:25 -0800)
committerDan Vanderkam <danvdk@gmail.com>
Wed, 22 Oct 2014 02:27:49 +0000 (22:27 -0400)
dygraph.js

index 18715f5..8ce50dc 100644 (file)
@@ -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();