smitajoshi12 commented on code in PR #6801: URL: https://github.com/apache/ozone/pull/6801#discussion_r1634838859
########## hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/diskUsage/diskUsage.tsx: ########## @@ -184,15 +186,19 @@ export class DiskUsage extends React.Component<Record<string, object>, IDUState> // Differentiate key without trailing slash return (subpath.isKey || subpathName === OTHER_PATH_NAME) ? subpathName : subpathName + '/'; }); - + values = subpaths.map(subpath => { return subpath.size / dataSize; }); - + // Logic for Values Normalization on Pie chart adding 0.05 so minimum block + // will be displayed on Pie chart using below logic + // Percentage and Size string Logic will be same + normalizedValues= normalize(values); + normalizedValues= values && values.map((item)=> item+ 0.05); Review Comment: @ArafatKhan2198 Done With Changes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org