You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/11/07 08:20:48 UTC

[GitHub] [incubator-echarts] jarben opened a new issue #4986: Sankey diagram order can't be specified

jarben opened a new issue #4986: Sankey diagram order can't be specified
URL: https://github.com/apache/incubator-echarts/issues/4986
 
 
   Version: 3.4.0
   
   I'm struggling to find out how to manage order of nodes in the sankey diagram. For example, this diagram: 
   
   ![image](https://cloud.githubusercontent.com/assets/561365/22152521/a4d462de-df23-11e6-89cf-1afe9cbc1dc7.png)
   
   is defined (source attached [sankey-order.zip](https://github.com/ecomfe/echarts/files/719575/sankey-order.zip)) in this order: 
   
   nodes: 
   1. Financial Services 
   2. Energy & Utilities
   3. Mobility Transportation
   
   1. Germany
   2. Italy
   3. Netherlands
   
   links: 
   1. Financial Services -> Germany
   2. Financial Services -> Italy
   3. Financial Services - Netherlands
   ...
   
   where the order on the diagram is: 
   1. Mobility Transportation
   2. Financial Services 
   3. Energy & Utilities
   
   1. Germany
   2. Netherlands
   3. 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! 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org