villebro opened a new issue #14643:
URL: https://github.com/apache/echarts/issues/14643


   ### What problem does this feature solve?
   ECharts currently supports the `themeRiver` algorithm for drawing area 
charts centered around the x-axis:
   
   
![image](https://user-images.githubusercontent.com/33317356/114297317-933f6f00-9ab8-11eb-9fa0-4c218bf52b03.png)
   
   Another algorithm, StreamGraph, produces a similar but non-symmetrical 
chart, that often provides an more visually appealing chart, which minimizes 
the slopes of the series for each point on the x-axis. See an example of the 
StreamGraph in Apache Superset using the NVD3 plugin:
   
   
![image](https://user-images.githubusercontent.com/33317356/114297428-41e3af80-9ab9-11eb-8baa-19ffb2200369.png)
   
   There are two variations of this; the `wiggle` and `weighted_wiggle` 
algorithm (see the following technical paper for details: 
http://leebyron.com/streamgraph/stackedgraphs_byron_wattenberg.pdf ). E.g. 
matplotlib implements these 
https://www.python-graph-gallery.com/252-baseline-options-for-stacked-area-chart:
 (sym here equals `themeRiver`)
   
   
![image](https://user-images.githubusercontent.com/33317356/114297289-6ab77500-9ab8-11eb-8d9c-040b3d81574b.png)
   
   ### What does the proposed API look like?
   These algorithms could be added to the current `themeRiver` type as 
rendering options, or potentially introduce a new `flowGraph`/`streamGraph` 
type, and add `themeRiver`, `wiggle` and `weightedWiggle` as rendering options 
to it.
   
   If this is something the project would interested in introducing, I would be 
happy to carry out the work for it.
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


-- 
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to