Loading

echarts颜色渐变

itemStyle: {
normal: {
color: new this.$echarts.graphic.LinearGradient(1, 0, 0, 0, [{
offset: 0,
color:'#1794e4'
},{
offset: 0.6,
color: '#1794e42d'
}, {
offset: 1,
color: '#1794e40a'
}], false)
}
},

posted @ 2021-12-27 15:55  资深if-else侠  阅读(84)  评论(0编辑  收藏  举报