Use user-friendly names for labels.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 30 May 2018 21:42:53 +0000 (23:42 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 30 May 2018 21:42:53 +0000 (23:42 +0200)
web/static/seepark_web.js

index 0c8d851e6266ba459c29e2c503e00e95ff28478a..d466e315c15d4d8de8f1320297b75d5ccfcc4fa9 100644 (file)
@@ -6,6 +6,10 @@ var chart = c3.generate({
                xs: {
                        'water_temperature': 'water_temperature_x',
                        'air_temperature': 'air_temperature_x'
+               },
+               names: {
+                       'water_temperature': 'Wassertemperatur',
+                       'air_temperature': 'Lufttemperatur'
                }
        },
        axis: {