Open erosca opened 1 month ago
confirmed bug in treemap. It seems legend switch resets roam to false. Series types tree and graph are not affected. Demo
@helgasoft Do you have any feeling how serious the issue is (looks like it's deep in the core implementation) and do you know if there is anyone likely to provide some guidance on the way to fixing it?
My feeling is that this bug is low priority and heavy workload, and wont be fixed anytime soon. Would love to be wrong though...
Thanks @helgasoft . Sounds like a detour to d3 is unavoidable in this case, since switching between tabs (w/o losing panning/zooming) is a core feature in my personal application/use-case.
d3 is a big bag to carry. CSS is simpler, just some way of keeping charts separate and avoid legend - Demo.
d3 is a big bag to carry. CSS is simpler, just some way of keeping charts separate and avoid legend - Demo.
Cool. Wonderful insight and advice 👍. Appreciated 🙏.
Version
5.5.1
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=treemap-obama&lang=js&version=5.5.1
Steps to Reproduce
Current Behavior
See "Steps to Reproduce"
Expected Behavior
Panning by mouse click should work regardless how many times you switch between legend datasets/tabs.
Environment
Any additional comments?
No response