echarts柱状图设置选中阴影宽度

tooltip: {
      trigger: 'axis',
      axisPointer: {
        type: 'line',
        lineStyle: {
          color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
            { offset: 0, color: '#1950a300' },
            { offset: 1, color: '#1950a321' },
          ]),
          width: 44,
          type: 'solid',
        },
      },
}

效果:

 

posted @ 2023-07-13 16:26  rachelch  阅读(769)  评论(0编辑  收藏  举报