series: [{
name: '完成培训',
data: [120, 200, 150, 80, 70, 110, 130, 110, 130, 180, 230, 60],
type: 'bar',
barWidth: 24,
label:{
color:'#999999',
},
itemStyle: {
normal: {
color: new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#2B71D9'},
{offset: 1, color: '#3CDAF2'}
]
)
}
},
},{
name: '合格人数',
data: [100, 160, 120, 180, 170, 80, 150, 90, 100, 110, 240, 70],
type: 'bar',
barWidth: 24,
label:{
color:'#999999',
echarts bar 换色渐变
最新推荐文章于 2023-11-20 08:00:00 发布