From cb31ffb792f820ae37625d728c36b3a36533beb3 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Mon, 1 Jul 2013 23:48:51 -0400 Subject: [PATCH] move prev/nextRow into points array --- extras/hairlines.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/hairlines.js b/extras/hairlines.js index 8e3d7dd..edf0680 100644 --- a/extras/hairlines.js +++ b/extras/hairlines.js @@ -269,6 +269,8 @@ hairlines.prototype.updateHairlineInfo = function() { canvasy: 1, // TODO(danvk): real coordinate xval: h.xval, yval: yval, + prevRow: prevRow, + nextRow: nextRow, name: labels[i] }); } @@ -277,8 +279,6 @@ hairlines.prototype.updateHairlineInfo = function() { if (that.divFiller_) { that.divFiller_(h.infoDiv, { closestRow: row, - prevRow: prevRow, - nextRow: nextRow, points: selPoints, hairline: that.createPublicHairline_(h), dygraph: g -- 2.7.4