From 308a1591f9f41597f4e7cc17bca06c66d6efc0a2 Mon Sep 17 00:00:00 2001 From: Anu Engineer Date: Fri, 15 Jun 2018 10:23:58 -0700 Subject: [PATCH] HDDS-172. The numbers of operation should be integer in KSM UI. Contributed by Takanobu Asanuma. --- hadoop-ozone/ozone-manager/src/main/webapps/ksm/ksm.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hadoop-ozone/ozone-manager/src/main/webapps/ksm/ksm.js b/hadoop-ozone/ozone-manager/src/main/webapps/ksm/ksm.js index 7fb52b1292..ab6f73bfc9 100644 --- a/hadoop-ozone/ozone-manager/src/main/webapps/ksm/ksm.js +++ b/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,