Error: `setOption` should not be called during main process.
Open
bug
en
missing-demo
pending
waiting-for: author
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
5.1.2
### Steps to reproduce
setOption(`option with some error`),
Error: `setOption` should not be called during main process.
when I fixed option , try setOption again, it still report above error
only then i dispose this chart instance and redraw it become normal
but I have same element(create by zrender ) that not include in option,dispose and redraw will miss these element
so how can I fixed above error and keep these element
### What is expected?
I fixed above error and keep these element
### What is actually happening?
miss these element
Contributor guide
Assessment
This issue has not been assessed yet.