From: gregor herrmann Date: Mon, 4 Jun 2018 20:20:13 +0000 (+0200) Subject: tooltip: 2 decimal places are enough X-Git-Url: https://git.toastfreeware.priv.at/chrisu/seepark.git/commitdiff_plain/e9f1a294ff11fbb3a072bf4c56636fd3fe6fcc0c tooltip: 2 decimal places are enough --- diff --git a/web/static/seepark_web.js b/web/static/seepark_web.js index 0bda800..f5f2f6a 100644 --- a/web/static/seepark_web.js +++ b/web/static/seepark_web.js @@ -64,7 +64,7 @@ var chart = c3.generate({ return res; }, value: function (value, ratio, id, index) { - return value + '°'; + return value.toFixed(2) + '°'; } } },