Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Make sankey diagram dragable and be able to zoom in/out #19863

Open
SincerelyUnique opened this issue Apr 25, 2024 · 2 comments
Open
Labels
en This issue is in English new-feature pending We are not sure about whether this is a bug/new feature.

Comments

@SincerelyUnique
Copy link

What problem does this feature solve?

This feature can make sankey diagram dragable and be able to zoom in and out, for the sankey with a large dataset, the picture will be overflow to current div, so the current screen unable to handle all data , we want to make the canvas canbe dragable and can be zoom in or zoom out

What does the proposed API look like?

maybe like a attribute like dataZoom: {} or some others
Thanks team!

@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Apr 25, 2024
@SincerelyUnique
Copy link
Author

maybe can be implement from

https://blog.csdn.net/ztwelve/article/details/128649174

but it is not smooth

I prefer this one: https://codepen.io/borntofrappe/pen/KrBypK

but I need to learn d3, it is sad

@helgasoft
Copy link

Interesting examples. Could be done eventually in ECharts, but needs work - Demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
en This issue is in English new-feature pending We are not sure about whether this is a bug/new feature.
Projects
None yet
Development

No branches or pull requests

2 participants