mirror of
https://github.com/zaphar/Heracles.git
synced 2025-07-23 04:29:48 -04:00
fix: set trace name for bar charts
This commit is contained in:
parent
349003bd6f
commit
9a89412fc8
@ -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]);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user