-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Stacked % Charts don't render for type number on X-Axis #6517
Copy link
Copy link
Labels
bugGeneral bug labelGeneral bug label
Description
How I caused this bug
I've recently upgraded from Recharts 2.6.x and updated to Recharts 3.3.0.
What is the current behavior?
As soon as the x-axis of a stacked % Area Chart is type="number" the data stops rendering.
What is the expected behavior?
Stacked % charts should work for x-axis type="number".
Please provide a demo of the problem in a sandbox
Here's the normal stacked chart example just with type number added and it just breaks the data completely.
https://stackblitz.com/edit/j22xpcdb?file=src/Example.tsx&showSidebar=0&terminalHeight=10
Which versions of Recharts, and which browser / OS are affected by this issue? Did this work in previous versions of Recharts?
worked in 2.6.0, its broken in 3.3.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugGeneral bug labelGeneral bug label