[Bug] the tree graph center is changed when zoom property is set to the options or when change zoom of the tree graph instance
Open
bug
en
pending
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
5.2.2
### Link to Minimal Reproduction
https://codesandbox.io/s/polished-star-6sq7li?file=/src/index.js
### Steps to Reproduce
1. create echarts tree instance.
2. click the +/- button on the demostration.
3. recall chart.setOptions() and change the zoom number of the instance
4. you can see the tree graph center is not on the canvas center
### Current Behavior
see the steps to reproduce for details...
### Expected Behavior
the tree graph center is expected to auto fix the canvas center when manually set zoom of the graph
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.