Merge pull request #242 from sauter-hq/draw-xaxis-bugfix
[dygraphs.git] / dygraph.js
index cec3071..f11fa74 100644 (file)
@@ -1988,7 +1988,7 @@ Dygraph.prototype.updateSelection_ = function(opt_animFraction) {
       ctx.strokeStyle = color;
       ctx.fillStyle = color;
       callback(this.g, pt.name, ctx, canvasx, pt.canvasy,
-          color, circleSize);
+          color, circleSize, pt.idx);
     }
     ctx.restore();