X-Git-Url: https://git.toastfreeware.priv.at/chrisu/seepark.git/blobdiff_plain/93e38c518b76d229d1dad791c3c73b1de7528464..105e2625c0cacd63414fa47979f882672f633e35:/web/static/seepark_web.js?ds=inline diff --git a/web/static/seepark_web.js b/web/static/seepark_web.js index eedcb44..73e9ac2 100644 --- a/web/static/seepark_web.js +++ b/web/static/seepark_web.js @@ -84,3 +84,9 @@ var chart = c3.generate({ ] }); +function loaddays(days) { + chart.load({ + url: '/data/' + days, + mimeType: 'json' + }); +}