X-Git-Url: https://git.toastfreeware.priv.at/chrisu/seepark.git/blobdiff_plain/babe905207138d35d94b476a1f0b81d9514da7d8..1ca8e91ee09c73b2e082c3f248346899a258d744:/web/static/seepark_web.js diff --git a/web/static/seepark_web.js b/web/static/seepark_web.js index e0d569c..66cc2a9 100644 --- a/web/static/seepark_web.js +++ b/web/static/seepark_web.js @@ -19,9 +19,9 @@ function dayschart(element, title, days, xtickformat) { }, xFormat: '%Y-%m-%d %H:%M:%S', colors: { - '0416a1ac66ff': 'lightblue', - '0516a207a4ff': 'middleblue', - '0416a1bab9ff': 'darkblue' + '0416a1ac66ff': 'lightskyblue', + '0516a207a4ff': 'royalblue', + '0416a1bab9ff': 'midnightblue' } }; } else { @@ -98,7 +98,7 @@ function dayschart(element, title, days, xtickformat) { name: function (name, ratio, id, index) { var prefix = ''; if (element.substr(0, 7) == 'chart_w') { - var re = /\d m/; + var re = /\d+ c?m/; prefix = 'Wasser '; } else { var re = /Luft/;