From bd4b75f5d8d1567e0d508399dd9050f5a5d42b9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 7 Feb 2014 13:27:53 +0100 Subject: [PATCH] added single decimal to short y formater --- src/app/directives/grafanaGraph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/directives/grafanaGraph.js b/src/app/directives/grafanaGraph.js index d57002237e5..d6115135305 100644 --- a/src/app/directives/grafanaGraph.js +++ b/src/app/directives/grafanaGraph.js @@ -247,7 +247,7 @@ function (angular, $, kbn, moment, _) { } if (format === 'short') { axis.tickFormatter = function(val) { - return kbn.shortFormat(val,0); + return kbn.shortFormat(val, 1); }; } if (format === 'ms') {