I have a column chart, and I want to give it a borderRadius, unfortunately this could only be done in such a tricky way, because there are values when they are negative, and to make a negative value look good, I needed this custom function.
When I navigate between pages, and there is also an ulyanlike chart, it won't show up. The data is there because it shows on hover, everything would be there but the series itself.
If I uncomment this function series, and there is no custom radius, everything is perfect.
What could be wrong, what is causing the bug?
Here is the codesandbox to it: https://codesandbox.io/p/github/radikri ... FREADME.md