From e9f1a294ff11fbb3a072bf4c56636fd3fe6fcc0c Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Mon, 4 Jun 2018 22:20:13 +0200 Subject: [PATCH] tooltip: 2 decimal places are enough --- web/static/seepark_web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) + '°'; } } }, -- 2.47.3