echarts icon indicating copy to clipboard operation
echarts copied to clipboard

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

Open SincerelyUnique opened this issue 1 year ago • 2 comments

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!

SincerelyUnique avatar Apr 25 '24 08:04 SincerelyUnique

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

SincerelyUnique avatar Apr 28 '24 01:04 SincerelyUnique

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

helgasoft avatar Apr 30 '24 21:04 helgasoft