Ovilia commented on issue #18540:
URL: https://github.com/apache/echarts/issues/18540#issuecomment-2459030556
There're a lot of setting to do so it may not be easy to dynamically change
theme. Leave this issue open for future discussion.
Current way to do:
```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.
```
--
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]