From: Philipp Spitzer Date: Wed, 30 May 2018 21:45:59 +0000 (+0200) Subject: Add y label. X-Git-Url: https://git.toastfreeware.priv.at/chrisu/seepark.git/commitdiff_plain/5b58a0c0333c20d84661e404820f05ebfbb40ad4?ds=sidebyside Add y label. --- diff --git a/web/static/seepark_web.js b/web/static/seepark_web.js index d466e31..9cb1b60 100644 --- a/web/static/seepark_web.js +++ b/web/static/seepark_web.js @@ -18,6 +18,12 @@ var chart = c3.generate({ tick: { format: '%Y-%m-%d' } + }, + y: { + label: { + text: '°C', + position: 'outer-middle' + } } } });