tooltip: 2 decimal places are enough
authorgregor herrmann <gregor@toastfreeware.priv.at>
Mon, 4 Jun 2018 20:20:13 +0000 (22:20 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Mon, 4 Jun 2018 20:20:13 +0000 (22:20 +0200)
web/static/seepark_web.js

index 0bda80064e8391adc56a63a268d61ae0c9e991cb..f5f2f6a413fe4c0e87f33f2355402518fe5894f1 100644 (file)
@@ -64,7 +64,7 @@ var chart = c3.generate({
                                return res;
                        },
                        value: function (value, ratio, id, index) {
-                               return value + '°';
+                               return value.toFixed(2) + '°';
                        }
                }
        },