series : [{
name:'信息得分',
type:'bar',
barWidth: '20px',
data:values,
itemStyle: {
normal: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{offset: 0, color: '#5a87c8'},
{offset: 1, color: '#40ddce'}
])
}
},
}]
echarts 的柱状图颜色渐变
猜你喜欢
转载自blog.csdn.net/weixin_43453916/article/details/97785852
今日推荐
周排行