hiding numbers if rows are to short
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user