From c17f467bfd39d386b14ec394a5346b9eca4ca7c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=20Kl=C3=A4rner?= Date: Sat, 29 May 2021 23:26:19 +0200 Subject: [PATCH] prevent the iframe from showing a scrollbar --- MMM-GrafanaChart.js | 1 + 1 file changed, 1 insertion(+) diff --git a/MMM-GrafanaChart.js b/MMM-GrafanaChart.js index 61fa61f..9db60b2 100755 --- a/MMM-GrafanaChart.js +++ b/MMM-GrafanaChart.js @@ -34,6 +34,7 @@ Module.register("MMM-GrafanaChart", { iframe.src = this.config.protocol + "://" + this.config.host + ":" + this.config.port + "/dashboard-solo/db/" + this.config.dashboardname+ "?orgId=" + this.config.orgId + "&panelId=" + this.config.panelId + "&from=" + this.config.from + "&to=" + this.config.to;; } iframe.setAttribute("timestamp", new Date().getTime()); + iframe.setAttribute("scrollable", "no"); return iframe; }, scheduleUpdate: function(delay) {