Explorar el Código

added single decimal to short y formater

Torkel Ödegaard hace 12 años
padre
commit
bd4b75f5d8
Se han modificado 1 ficheros con 1 adiciones y 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') {