-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
What is the current behavior?
When the yAxis has its width set to auto, it does not resize correctly when the data changes.
Screen.Recording.2025-10-08.at.17.23.28.mov
What is the expected behavior?
When the data changes, the width of the yAxis should be recalculated accurately to fit the updated values.
Screen.Recording.2025-10-08.at.17.22.32.mov
Please provide a demo of the problem in a sandbox
https://stackblitz.com/edit/bl71p73s?file=src%2FExample.tsx
Which versions of Recharts, and which browser / OS are affected by this issue? Did this work in previous versions of Recharts?
This issue occurs in Recharts v3.2.1.
In v3.2.0, the yAxis resizes correctly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels