浏览代码

HDDS-172. The numbers of operation should be integer in KSM UI.
Contributed by Takanobu Asanuma.

Anu Engineer 6 年之前
父节点
当前提交
308a1591f9
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      hadoop-ozone/ozone-manager/src/main/webapps/ksm/ksm.js

+ 3 - 1
hadoop-ozone/ozone-manager/src/main/webapps/ksm/ksm.js

@@ -48,7 +48,9 @@
                     labelType: 'value',
                     duration: 500,
                     labelThreshold: 0.01,
-                    labelSunbeamLayout: true,
+                    valueFormat: function(d) {
+                        return d3.format('d')(d);
+                    },
                     legend: {
                         margin: {
                             top: 5,