From b39f9b6701a2ec07f419591806a91647865f8e7e Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Thu, 6 Sep 2018 23:44:14 +0200 Subject: [PATCH] add back .flush after chart creation. another incidence of empty charts (timing issues?) after a manual reload of the page ... --- web/static/seepark_web.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/static/seepark_web.js b/web/static/seepark_web.js index 40fd919..e12e464 100644 --- a/web/static/seepark_web.js +++ b/web/static/seepark_web.js @@ -162,6 +162,9 @@ function dayschart(element, title, days, xtickformat) { ] }); + // workaround for unrendered dots + setTimeout(function () { chart.flush(); }, 5000); + // reload data in charts setInterval( function() { -- 2.47.3