Sfoglia il codice sorgente

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

Enrico Berti 9 anni fa
parent
commit
499aa7b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);