wendyLiGitHub opened a new issue #7233:
URL: https://github.com/apache/echarts/issues/7233


   <!--
   为了方便我们能够复现和修复 bug,请遵从下面的规范描述您的问题。
   -->
   
   
   ### One-line summary [问题简述]
   目前版本的桑基图支持在节点间的线条上显示数字么?
   
   
   
   
   ### Version & Environment [版本及环境]
   + ECharts version [ECharts 版本]:3.6.2
   + Browser version [浏览器类型和版本]:Chrome
   + OS Version [操作系统类型和版本]:Windows10
   
   
   
   
   
   ### Expected behaviour [期望结果]
   希望桑基图支持在节点间的线条上显示数字
   
   
   
   
   ### ECharts option [ECharts配置项]
   <!-- Copy and paste your 'echarts option' here. -->
   <!-- [下方贴你的option,注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。最好是我们能够直接运行的 
option。如何得到能运行的 option 参见上方的 guidelines for contributing] -->
   ```javascript
   option = {
   "tooltip":{},
       "toolbox":{
           "show":true,
           "itemSize":25,
           "right":12,
           "feature":{"saveAsImage":{"show":true}}},
           "series":[
               {
                   "type":"sankey",
                   "layout":"none",
                   "data":[
                       {"name":"2016三年级A等级"},
                       {"name":"2017四年级A等级"},
                       {"name":"2017四年级B等级"},
                       {"name":"2017四年级C等级"},
                       {"name":"2016三年级B等级"},
                       {"name":"2016三年级C等级"},
                       {"name":"2016四年级A等级"},
                       {"name":"2017五年级A等级"},
                       {"name":"2017五年级B等级"},
                       {"name":"2017五年级C等级"},
                       {"name":"2016四年级B等级"},
                       {"name":"2016四年级C等级"},
                       {"name":"2016五年级A等级"},
                       {"name":"2017六年级A等级"},
                       {"name":"2017六年级B等级"},
                       {"name":"2017六年级C等级"},
                       {"name":"2016五年级B等级"},
                       {"name":"2016五年级C等级"}],
                   "links":[
                       
{"source":"2016三年级A等级","target":"2017四年级A等级","value":200},
                       
{"source":"2016三年级A等级","target":"2017四年级B等级","value":150},
                       {"source":"2016三年级A等级","target":"2017四年级C等级","value":10},
                       
{"source":"2016三年级B等级","target":"2017四年级A等级","value":100},
                       
{"source":"2016三年级B等级","target":"2017四年级B等级","value":150},
                       {"source":"2016三年级B等级","target":"2017四年级C等级","value":30},
                       {"source":"2016三年级C等级","target":"2017四年级A等级","value":10},
                       {"source":"2016三年级C等级","target":"2017四年级B等级","value":50},
                       
{"source":"2016三年级C等级","target":"2017四年级C等级","value":150},
                       
{"source":"2016四年级A等级","target":"2017五年级A等级","value":200},
                       
{"source":"2016四年级A等级","target":"2017五年级B等级","value":150},
                       {"source":"2016四年级A等级","target":"2017五年级C等级","value":10},
                       
{"source":"2016四年级B等级","target":"2017五年级A等级","value":100},
                       
{"source":"2016四年级B等级","target":"2017五年级B等级","value":150},
                       {"source":"2016四年级B等级","target":"2017五年级C等级","value":30},
                       {"source":"2016四年级C等级","target":"2017五年级A等级","value":10},
                       {"source":"2016四年级C等级","target":"2017五年级B等级","value":50},
                       
{"source":"2016四年级C等级","target":"2017五年级C等级","value":150},
                       
{"source":"2016五年级A等级","target":"2017六年级A等级","value":200},
                       
{"source":"2016五年级A等级","target":"2017六年级B等级","value":150},
                       {"source":"2016五年级A等级","target":"2017六年级C等级","value":10},
                       
{"source":"2016五年级B等级","target":"2017六年级A等级","value":100},
                       
{"source":"2016五年级B等级","target":"2017六年级B等级","value":150},
                       {"source":"2016五年级B等级","target":"2017六年级C等级","value":30},
                       {"source":"2016五年级C等级","target":"2017六年级A等级","value":10},
                       {"source":"2016五年级C等级","target":"2017六年级B等级","value":50},
                       {"source":"2016五年级C等级","target":"2017六年级C等级","value":150}
                   ],
                   "itemStyle":{
                       "normal":{"borderWidth":1,"borderColor":"#aaa"}
                   },
                   "lineStyle":{
                       "normal":{"color":"source","curveness":0.5}
                   }
               }],
               "title":{"show":true,"text":""},
               "textStyle":{"fontSize":12}
   }
   
   ```
   
   
   
   
   ### Other comments [其他信息]
   <!-- For example: Screenshot or Online demo -->
   <!-- [例如,截图或线上实例 (JSFiddle/JSBin/Codepen)] -->
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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