X-Git-Url: https://git.toastfreeware.priv.at/chrisu/seepark.git/blobdiff_plain/c41b39636626c0fd80c06cec0508458c25b23873..6f097e00ba3a0d9d7f726d789aed524ddff6a396:/web/static/seepark_web.js?ds=sidebyside diff --git a/web/static/seepark_web.js b/web/static/seepark_web.js index 5aaf55a..da663a2 100644 --- a/web/static/seepark_web.js +++ b/web/static/seepark_web.js @@ -30,6 +30,7 @@ function dayschart(element, title, days, xtickformat) { '0416a1bab9ff': 'mediumblue', '0316a2193bff': 'midnightblue' }, + type: 'line', // default /* xSort: false, order: function (a, b) { @@ -55,7 +56,8 @@ function dayschart(element, title, days, xtickformat) { xFormat: '%Y-%m-%d %H:%M:%S', colors: { '3319578': 'red' - } + }, + type: 'spline', }; }; var chart = c3.generate({