From 6d639bcbe8e7d64594e894018b8e8e0439fd6755 Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 7 Jun 2019 12:17:18 -0500 Subject: [PATCH] add data index to legendFormatter data --- src/plugins/legend.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/legend.js b/src/plugins/legend.js index 40a486344..3904ed151 100644 --- a/src/plugins/legend.js +++ b/src/plugins/legend.js @@ -195,6 +195,7 @@ Legend.generateLegendHTML = function(g, x, sel_points, oneEmWidth, row) { var data = { dygraph: g, x: x, + i: row, series: [] };