-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[xyChart] When switching the seriesProps, the chart doesn't render first series #868
Comments
The root cause is the
this removes the prevId spec (the A for the first component) and then add the spec B to the store. |
🎉 This issue has been resolved in version 24.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Describe the bug
When I want to programatically reorder
yAccessors
in xy_chart, the first series is not displayed.I’ve simplified the example here in codesandbox – toggle the 'click' button - the series should switch and display in order from [1,2,3] to [2,1,3], but only the second and third series is visible.
https://codesandbox.io/s/charts-interval-bug-l8th9?file=/src/App.tsx
Version (please complete the following information):
The text was updated successfully, but these errors were encountered: