如何在echarts中使Sankey Graph的边缘指向表示流入和流出的点,如何从节点获取流入和流出的值以显示在工具提示中? 这是我的选项对象:
{
tooltip: {
trigger: 'item',
},
series: {
type: 'sankey',
layout: 'none',
left: 35,
top: 25,
right: 150,
bottom: 25,
layoutIterations: 50,
focusNodeAdjacency: 'allEdges',
lineStyle: {
// color: 'source',
curveness: 0.3,
},
}