From 5b58a0c0333c20d84661e404820f05ebfbb40ad4 Mon Sep 17 00:00:00 2001 From: Philipp Spitzer Date: Wed, 30 May 2018 23:45:59 +0200 Subject: [PATCH] Add y label. --- web/static/seepark_web.js | 6 ++++++ 1 file changed, 6 insertions(+) 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' + } } } }); -- 2.47.3