#Bug 333: Support for passing point index to drawPointCallback and drawHighlightPoint...
[dygraphs.git] / dygraph-layout.js
index 4caafc0..b67fe2c 100644 (file)
@@ -242,7 +242,8 @@ DygraphLayout.prototype._evaluateLineCharts = function() {
         y: yNormal,
         xval: xValue,
         yval: yValue,
-        name: setName  // TODO(danvk): is this really necessary?
+        name: setName,  // TODO(danvk): is this really necessary?
+        idx: j + this.dygraph_.boundaryIds_[setIdx][0]
       };
     }