Reputation: 569
I'm having an issue similar to this using Recharts library with NextJS.
I'm using a ComposedChart
that renders Bar
and Line
components.
However, the Label
s are overlapping on each other if the value is not big enough between them.
Is there any way we can conditionally render out the Label
inside LabelList
if the data's value is higher than a specific value? (Ex: Hide the Label
when the data's value is lower than 5
)
Upvotes: 4
Views: 2036