Answer the question
In order to leave comments, you need to log in
How to remove data rounding and make a Recharts dividing bar?
Source - https://codesandbox.io/s/fasdasdas-yi8cj5
1. You need to remove the rounding for the vertical axis (YAxis), i.e. max value must be equal to the max value of the bar. The documentation says to do this:
But when I set a value in domain max, YAxis (the vertical axis of the chart) is not displayed at all (sometimes it is displayed in 1 or 2 tabs).
2. I don't understand, is it possible to implement such a separating strip between bars in this library?<YAxis type="number" domain={[0, 'dataMax']} />
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question