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

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

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

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

jarben opened this issue Jun 8, 2016 · 4 comments
Assignees

Comments

@jarben
Copy link
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

@deqingli deqingli self-assigned this Mar 7, 2018
@deqingli deqingli self-assigned this Apr 12, 2018
@deqingli
Copy link
Member

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
Copy link
Member

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

@jarben
Copy link
Contributor Author

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
Copy link

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
Projects
None yet
Development

No branches or pull requests

4 participants