From 88096d3f4dc2ef74d04d6f9804e2707a99dbd7d9 Mon Sep 17 00:00:00 2001 From: cpq Date: Sun, 15 Nov 2026 12:16:49 +0000 Subject: [PATCH] Update graph1 --- tutorials/device-dashboard/full/dashboard.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tutorials/device-dashboard/full/dashboard.html b/tutorials/device-dashboard/full/dashboard.html index faa67da1..60603aba 100644 --- a/tutorials/device-dashboard/full/dashboard.html +++ b/tutorials/device-dashboard/full/dashboard.html @@ -110,6 +110,11 @@ setupAutoLogout(); document.body.style.visibility = 'visible'; refreshFiles(); + // Static graph is not pushed by the device, so load it once here + Dashboard.call('get', 'graph1').then(r => { + mkGraph(graphs.graph1); + updateGraph1(r?.data); + }); }); Dashboard.login().catch(err => showLogin(true));