尝试以这个为例,直接加
1.坐标系
xAxis: {
show: false,
type: 'value'
},
yAxis: {
show: false,
type: 'value'
},
2.series里
{
name: 'A',
type: 'lines',
coordinateSystem: 'cartesian2d',
z: 1,
effect: {
show: true,
smooth: false,
trailLength: 0,
symbol: "arrow",
color: 'rgba(55,155,255,0.5)',
symbolSize: 12
},
lineStyle: {
normal: {
curveness: 0.2
}
},
data: linesData
}
3.let linesData = [] 部分不会写
求问还需要加什么或者怎么改呢?