Przeglądaj źródła

fix: graph fix for decimals, bug introduced by #61313478063b0e0721f204847f3c0298ea8f593f

Torkel Ödegaard 8 lat temu
rodzic
commit
17cb3f6e6a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      public/app/plugins/panel/graph/graph.ts

+ 1 - 1
public/app/plugins/panel/graph/graph.ts

@@ -498,7 +498,7 @@ coreModule.directive('grafanaGraph', function($rootScope, timeSrv, popoverSrv) {
           logBase: panel.yaxes[0].logBase || 1,
           min: panel.yaxes[0].min ? _.toNumber(panel.yaxes[0].min) : null,
           max: panel.yaxes[0].max ? _.toNumber(panel.yaxes[0].max) : null,
-          tickDecimals: panel.yaxes[0].decimals !== null ? _.toNumber(panel.yaxes[0].decimals): null
+          tickDecimals: panel.yaxes[0].decimals
         };
 
         options.yaxes.push(defaults);