From cf98532775af96eb9e65faf804eaf3f6f605bc27 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Tue, 20 Feb 2024 20:25:39 -0500 Subject: [PATCH] fix: Listen to changes to the d3-tick-format attr --- static/lib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/lib.js b/static/lib.js index bd46ed9..b97168f 100644 --- a/static/lib.js +++ b/static/lib.js @@ -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) {