axisPointer: {
type: 'line',
lineStyle: {
color: {
type: 'line',
x: 0,
y: 0,
x2: 1,
y2: 1,
colorStops: [
{
offset: 0,
color: 'rgba(67, 118, 255, 0.10)',
},
{
offset: 1,
color: 'rgba(67, 118, 255, 0.10)',
},
],
},
type: 'solid',
width: 60,
},
},
控制echart 悬浮框移入时,背景颜色宽度
于 2023-08-05 15:40:59 首次发布