X-Git-Url: https://git.toastfreeware.priv.at/chrisu/seepark.git/blobdiff_plain/d9863dc374ca6effe310671811d4acd4afa75a9c..4a3782f2287399b05ed0aa59c0ac8c921a21a5c3:/web/static/seepark_web.js diff --git a/web/static/seepark_web.js b/web/static/seepark_web.js index d023575..2aad39b 100644 --- a/web/static/seepark_web.js +++ b/web/static/seepark_web.js @@ -162,11 +162,7 @@ function dayschart(element, title, days, xtickformat) { // reload data in charts setInterval( function() { - chart.load({ - url: api_base_url_sensors + beginend(days), - mimeType: 'json' - }); - chart.flush(); + loaddays(chart, element, days); }, refresh_interval );