Add y label.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 30 May 2018 21:45:59 +0000 (23:45 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 30 May 2018 21:45:59 +0000 (23:45 +0200)
web/static/seepark_web.js

index d466e315c15d4d8de8f1320297b75d5ccfcc4fa9..9cb1b60c94b8e5c4d68639500594137d47bc4a9d 100644 (file)
@@ -18,6 +18,12 @@ var chart = c3.generate({
                        tick: {
                                format: '%Y-%m-%d'
                        }
+               },
+               y: {
+                       label: {
+                               text: '°C',
+                               position: 'outer-middle'
+                       }
                }
        }
 });