echarts [Bug] the tree graph center is changed when zoom property is set to the options or when change zoom of the tree graph instance

7bsow1i6  于 4个月前  发布在  Echarts
关注(0)|答案(2)|浏览(103)

Version

5.2.2

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

- OS:
- Browser:
- Framework:

Any additional comments?

No response

dzjeubhm

dzjeubhm1#

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

mqkwyuun

mqkwyuun2#

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

相关问题