Explorar o código

added single decimal to short y formater

Torkel Ödegaard %!s(int64=12) %!d(string=hai) anos
pai
achega
bd4b75f5d8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/app/directives/grafanaGraph.js

+ 1 - 1
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') {