From 8f767296cf0be759c6cccaaf7da9fde3e1fd1f85 Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Wed, 3 Oct 2018 18:46:04 +0200 Subject: [PATCH] loaddays: wrap .flush in a setTimeout depending on location and browser, I still see empty charts. --- web/static/seepark_web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/static/seepark_web.js b/web/static/seepark_web.js index d763fdb..7e727a1 100644 --- a/web/static/seepark_web.js +++ b/web/static/seepark_web.js @@ -188,7 +188,7 @@ function loaddays(chart, element, days) { unload: true }); }; - chart.flush(); + setTimeout(function () { chart.flush(); }, 5000); } function beginend(days) { -- 2.47.3