mirror of
https://github.com/zaphar/Heracles.git
synced 2025-07-23 20:49:50 -04:00
fix: Listen to changes to the d3-tick-format attr
This commit is contained in:
parent
20c8eadbd1
commit
cf98532775
@ -36,7 +36,7 @@ class TimeseriesGraph extends HTMLElement {
|
|||||||
this.#targetNode = this.appendChild(document.createElement("div"));
|
this.#targetNode = this.appendChild(document.createElement("div"));
|
||||||
}
|
}
|
||||||
|
|
||||||
static observedAttributes = ['uri', 'width', 'height', 'poll-seconds', 'end', 'duration', 'step-duration'];
|
static observedAttributes = ['uri', 'width', 'height', 'poll-seconds', 'end', 'duration', 'step-duration', 'd3-tick-format'];
|
||||||
|
|
||||||
attributeChangedCallback(name, _oldValue, newValue) {
|
attributeChangedCallback(name, _oldValue, newValue) {
|
||||||
switch (name) {
|
switch (name) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user