echarts icon indicating copy to clipboard operation
echarts copied to clipboard

Sankey diagram gets reordered on resize/legend change/map roam

Open jarben opened this issue 10 years ago • 4 comments

I have a sankey diagram in a map like this:

image

nodes and links are sorted on load, however, when window is resized, legend changed or map roamed, it changes into this:

image

You can reproduce this issue by resizing chart view in this example: http://echarts.baidu.com/demo.html#sankey-energy

Version: 3.1.10

jarben avatar Jun 08 '16 12:06 jarben

Hi @jarben, I have fixed this problem, which will be released next version. Now nodes sort by the order in series.data and will not be changed when you resize the diagram. Thanks for your suggestions!

deqingli avatar Apr 18 '18 08:04 deqingli

If there any problem after you try the new version, please reopen this issue.

deqingli avatar Apr 18 '18 08:04 deqingli

Hi @deqingli , this is great news! Thanks for looking at it! Will test once the release is out:)

Thanks, Jaro

jarben avatar Apr 18 '18 08:04 jarben

Hi @deqingli , is it possible to use zoom-in and zoom-out options in toolbox icon view, instead of using in world map , series --> roam with scaleLimit.

Thanks, chandru echarts_custom_zoom

Chandru1427 avatar Aug 03 '18 10:08 Chandru1427