From 1cbe9b42e992ed53c21afc0a5e03167cc0df8f00 Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Mon, 3 Sep 2018 18:38:16 +0200 Subject: [PATCH] add workaround for not rendered points after reload cf. e.g. https://github.com/c3js/c3/issues/975 --- web/static/seepark_web.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/static/seepark_web.js b/web/static/seepark_web.js index fca458b..721c586 100644 --- a/web/static/seepark_web.js +++ b/web/static/seepark_web.js @@ -155,6 +155,8 @@ function dayschart(element, title, days, xtickformat) { {axis: 'y', start: 100, end: 999, class: 'region-boiling'} ] }); + // woraround for unrendered dots + setTimeout(function () { chart.flush(); }, 5000); }; function loaddays(chart, element, days) { -- 2.47.3