소스 검색

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

Anu Engineer 7 년 전
부모
커밋
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,