-
Notifications
You must be signed in to change notification settings - Fork 1
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
Overcome react-echart
limitations
#43
Labels
Comments
I think we can give it a try if you think you can quickly develop a POC that we iterate on. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
Support all kind of series' updates in echart plots:
Actual behavior
Supported series' updates in echart plots:
Problem description
Series deletion is not supported due to
react-echart
third-party limitations. An issue is opened since 2022. For details, see here.Partial
echartInstances.setOption
method's parameters are supported inreact-echart
mapping. Refer to the method documentation for more details.echartInstances.setOption
accepts either :parameters
or
As the official documentation explains :
Unfortunately, the
react-echart
library currently lacks support for thereplaceMerge
parameter. You can check the component internal logic and component props for further details.This means that when updating options in
react-echart
, there won't be a merging of the new options with the existing ones. Instead, the update will occur without merging, which could trigger animations and color changes.Proposal
To overcome
react-echart
limitations, a better approach is creating a customechart
mapping. This empowers us to address specific needs, enhance flexibility, and gain greater control over the chart functionalities in our application.The text was updated successfully, but these errors were encountered: