❤echarts桑葚图的使用以及桑葚图详细配置
series: [
{
type: 'sankey',
data: data.nodes,
links: data.links,
label :{
fontSize:36, //控制字体大小
},
focusNodeAdjacency: 'allEdges',
itemStyle: {
borderWidth: 1,
borderColor: '#aaa'
},
lineStyle: {
color: 'source',
curveness: 0.5
}
}
]