#how to make Xaxis rotate vertical?
5 messages · Page 1 of 1 (latest)
<BarChart
h={300}
data={barData}
dataKey="name"
series={barData.map((item) => ({ name: item.name, color: item.color }))}
tickLine="y"
valueFormatter={(value) => new Intl.NumberFormat('en-US').format(value)}
/>
The question is not clear
I want the x axis label to rotate vertically like this so all label can be seen clearly with its bar.
currently chart hides them if there is no space