diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-02-19 14:28:28 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-02-19 14:28:35 +0100 |
commit | eec30a2b7d7a31b9ace08201057fc76fbde57c4b (patch) | |
tree | 1de00bc695e2c7eb2d4fe1e4f603ca8804889ed5 /applications/luci-app-statistics/htdocs/luci-static | |
parent | d8b2e0a95efbb00fd7778767619eacdc48df3ccc (diff) |
luci-app-statistics: fix datasource selection in graph rendering
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-statistics/htdocs/luci-static')
-rw-r--r-- | applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js b/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js index c99d1e6838..fb3eeebd9b 100644 --- a/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js @@ -568,7 +568,7 @@ return L.Class.extend({ noarea: dopts.noarea || false, title: dopts.title || null, weight: dopts.weight || (dopts.negweight ? -+data_instances[j] : null) || (dopts.posweight ? +data_instances[j] : null) || null, - ds: data_sources[j], + ds: data_sources[k], type: data_types[i], instance: data_instances[j], index: _sources.length + 1, |