竖向桑基图

描述:当前是关于Echarts图表中的 桑基图 示例。
 
            option = {
  color:['#7E421A', '#178D99', '#007EB2', '#C36A0B', '#499C72', '#19BCFF', '#A8D6BF', '#1EB6C5', '#DC8B55', '#35D1E1', '#85C6A5'],
  series: [
    {
      type: 'sankey',
      right: '5%',
      orient: 'vertical',
      data:[
        //上点
        {name: '外卖',label:{position:'inside'}}, 
        {name: '网约车',label:{position:'inside'}},
        {name: '家政保洁',label:{position:'inside'}},
        //下点
        {name: '外卖 ',label:{position:'inside'}},
        {name: '网约车 ',label:{position:'inside'}},
        {name: '家政保洁 ',label:{position:'inside'}},   
      ],
      links: [
        {source: '外卖', target: '外卖 ', value: 11},
        {source: '外卖', target: '网约车 ', value: 20},
        {source: '外卖', target: '家政保洁 ', value: 14},
        {source: '网约车', target: '外卖 ', value: 17},
        {source: '网约车', target: '网约车 ', value: 4},
        {source: '网约车', target: '家政保洁 ', value: 22},
        {source: '家政保洁', target: '外卖 ', value: 15},
        {source: '家政保洁', target: '网约车 ', value: 12},
        {source: '家政保洁', target: '家政保洁 ', value: 2},
      ],
      label: {
        normal:{
          color:"white",
          fontSize:16,
          fontWeight: '600',
        },
      },
      itemStyle: {
        normal: {
          borderWidth: 1,
          borderColor: '#aaa',
        }
      },
      lineStyle: {
        normal: {
          color: 'gradient',
          borderColor: 'black',
          borderWidth: 0,
          opacity:0.3,
          curveness: 0.6
        }
      }
    }
  ]
}