瀏覽代碼

HUE-4079 [editor] Amount of 2M is missing a zero in the Y axis of bar charts

Enrico Berti 9 年之前
父節點
當前提交
499aa7b136
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/static/desktop/js/ko.charts.js

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/ko.charts.js

@@ -1048,7 +1048,7 @@
         _chart.transitionDuration(0);
 
         _chart.yAxis
-            .tickFormat(d3.format(",0f"));
+            .tickFormat(d3.format("s"));
 
         $(element).data("chart", _chart);