hiding numbers if rows are to short

This commit is contained in:
=
2026-04-17 14:32:37 +10:00
parent e52bf11cc4
commit 95f1fce0e2

View File

@@ -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 = {