P
P
PochemuIKak2022-02-22 02:06:03
React
PochemuIKak, 2022-02-22 02:06:03

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']} />
621419ce9e850308102028.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question