如何实现echart 画图网格隔行变色

2025-03-20 19:21:25
推荐回答(1个)
回答1:

这个简单 你再加10分采纳吧

举个例子,颜色那里 你需要什么写什么

splitLine: {
                show: true,
                lineStyle:{
                     color: ['#ccc','#f00',"#455"],
                     width: 1,
                    type: 'solid'
                }
            }