diff --git a/static/lib.js b/static/lib.js index 04716be..37733da 100644 --- a/static/lib.js +++ b/static/lib.js @@ -179,6 +179,9 @@ class TimeseriesGraph extends HTMLElement { x: [], y: [] }; + if (labels[this.#label]) { + trace.name = labels[this.#label]; + }; if (labels[this.#label]) { trace.x.push(labels[this.#label]); };