maybe we want different shades of blue for the water termperatures
authorgregor herrmann <gregor@toastfreeware.priv.at>
Sun, 10 Jun 2018 00:09:52 +0000 (02:09 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Sun, 10 Jun 2018 00:09:52 +0000 (02:09 +0200)
web/static/seepark_web.js

index f5f2f6a413fe4c0e87f33f2355402518fe5894f1..904810a0cb536c1e904825f9e77e2b614f4cd39d 100644 (file)
@@ -17,7 +17,11 @@ var chart = c3.generate({
                        '0316a2193bff': 'Wassertemperatur in 4 m Tiefe',
                        '0316a21383ff': 'Wassertemperatur in 5 m Tiefe'
                },
                        '0316a2193bff': 'Wassertemperatur in 4 m Tiefe',
                        '0316a21383ff': 'Wassertemperatur in 5 m Tiefe'
                },
-               xFormat: '%Y-%m-%d %H:%M:%S'
+               xFormat: '%Y-%m-%d %H:%M:%S',
+               colors: {
+                       '0316a2193bff': 'lightblue',
+                       '0316a21383ff': 'darkblue'
+               }
        },
        axis: {
                x: {
        },
        axis: {
                x: {