I'm trying to display on the s values in % with the '%' sign. When using CustomBarLabel, it gets cut off and it's under the Bar. Any idea how to change it?
export const CustomBarLabel = (props) => { const { x, y, value } = props; return ( {value} ); };
<ResponsiveContainer width={isMobile ? 1000 : '100%'} height={chartHeight}> <BarChart aria-label={t('foo')} width={500} height={300} data={graphData} margin={{ top: 20, right: 0, left: 0, bottom: 5 }} > <LabelList position='center' content={} rotate={90} /> <Bar dataKey='c' stackId='a' fill={colours.c
} barSize={barSize} radius={[10, 10, 0, 0]}>

Here's the solution: