diff --git a/webapp/javascript/pages/tagExplorer/components/TotalSamplesChart/PieChart/index.tsx b/webapp/javascript/pages/tagExplorer/components/TotalSamplesChart/PieChart/index.tsx index 474eb2a7a7..f475b1eb6a 100644 --- a/webapp/javascript/pages/tagExplorer/components/TotalSamplesChart/PieChart/index.tsx +++ b/webapp/javascript/pages/tagExplorer/components/TotalSamplesChart/PieChart/index.tsx @@ -62,8 +62,9 @@ const PieChart = ({ label: { show: true, radius: 0.7, - threshold: 0.17, - formatter: (label: string) => label, + threshold: 0.05, + formatter: (_: string, data: { percent: number }) => + `${data.percent.toFixed(2)}%`, }, }, },