diff --git a/site/src/chart/components/GroupChart.tsx b/site/src/chart/components/GroupChart.tsx index c1a933d..4bc42cc 100644 --- a/site/src/chart/components/GroupChart.tsx +++ b/site/src/chart/components/GroupChart.tsx @@ -22,7 +22,7 @@ function GroupChart({ data }: GroupProps) { return { dataKey: item[0], label: item[0], - barLabel: selectedSeries.length === 1 ? ('value' as const) : undefined, + barLabel: (selectedSeries.length === 1)&&(data.length<20) ? ('value' as const) : undefined, } }); const chartSetting = {