Skip to content

Commit

Permalink
Merge commit 'refs/pr/965' into debian
Browse files Browse the repository at this point in the history
#965

| add data index to legendFormatter data

| This adds the row index to the structure passed to the
| legendFormatter. Having the index enables quick indexing of external,
| unplotted auxiliary data for a point.
  • Loading branch information
mirabilos committed Sep 10, 2022
2 parents 96e420d + 6d639bc commit 36b12dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/legend.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ Legend.generateLegendHTML = function(g, x, sel_points, oneEmWidth, row) {
var data = {
dygraph: g,
x: x,
i: row,
series: []
};

Expand Down

0 comments on commit 36b12dc

Please sign in to comment.