fix: Listen to changes to the d3-tick-format attr

This commit is contained in:
Jeremy Wall 2024-02-20 20:25:39 -05:00
parent 20c8eadbd1
commit cf98532775

View File

@ -36,7 +36,7 @@ class TimeseriesGraph extends HTMLElement {
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) {
switch (name) {