wccd commented on issue #20478:
URL: https://github.com/apache/echarts/issues/20478#issuecomment-2459155956
> I would recommend:
>
> ```js
> const option = {...};
> chart.setOption(option);
>
> // reset theme when necessary
> chart = echarts.init(dom, 'theme-name');
> chart.setOption(option, true); // Use notMerge: true to reset all options
before.
> ```
For some reason, I need to record echart's options for the next render. Just
like JSON.string(echart.getOption()), But this will carry theme data,So I had
to find a way to remove the theme data.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]