-
Notifications
You must be signed in to change notification settings - Fork 19.7k
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 order can't be specified #4986
Comments
Any update on this? |
+1 - Another option could be allowing layoutIterations to be set to 0. Allowing the user to sort the nodes |
+1 Would love more control on how to change the ordering of the nodes. |
+1 Any update on the issue ? |
Hi everyone,I will follow this issue, sorry for letting you wait so long! |
Hi everyone, 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 even your resize the diagram. Thanks for your suggestions! |
If there any problem after you try the new version, please reopen this issue. |
这个问题,在修改了links里面的value值的时候排序又会发生改变了 |
This issue is not created using issue template so I'm going to close it. 🙊 这个 issue 未使用 issue 模板 创建,所以我将关闭此 issue。 |
any updates on how to do this in 2019? |
@jbadilla you can use |
Hi @jbadilla, If you want the node ordered by the |
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue. |
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks! |
Version: 3.4.0
I'm struggling to find out how to manage order of nodes in the sankey diagram. For example, this diagram:
is defined (source attached sankey-order.zip) in this order:
nodes:
Financial Services
Energy & Utilities
Mobility Transportation
Germany
Italy
Netherlands
links:
...
where the order on the diagram is:
Mobility Transportation
Financial Services
Energy & Utilities
Germany
Netherlands
Italy
Which doesn't reflect the source code. Is there any way to do this - provide some sort of order index or simply order by given order?
Thanks for any suggestion!
The text was updated successfully, but these errors were encountered: