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

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

Closed
jarben opened this Issue Jun 8, 2016 · 4 comments

Comments

Projects
None yet
4 participants
@jarben
Contributor

jarben commented Jun 8, 2016

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

@100pah 100pah added the enhancement label Jun 12, 2016

@deqingli deqingli self-assigned this Mar 7, 2018

@deqingli deqingli self-assigned this Apr 12, 2018

@deqingli

This comment has been minimized.

Member

deqingli commented Apr 18, 2018

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 deqingli closed this Apr 18, 2018

@deqingli

This comment has been minimized.

Member

deqingli commented Apr 18, 2018

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

@jarben

This comment has been minimized.

Contributor

jarben commented Apr 18, 2018

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

Thanks,
Jaro

@Chandru1427

This comment has been minimized.

Chandru1427 commented Aug 3, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment