series: [
{
name: "计划",
type: "bar",
// stack: "Total",
data: [],
barWidth: 30,
itemStyle: {
normal: {
color: new this.$echarts.graphic.LinearGradient(0, 0, 0, 1, [
{
offset: 0,
color: "rgba(13, 183, 211, 0.6)",
},
{
offset: 1,
color: "rgba(13, 183, 211, 0)",
},
]),
barBorderRadius: 2,
label: {
show: true, //开启显示
position: 'top', //在上方显示
textStyle: { //数值样式
color: '#fff',
fontSize: 24
}
}
},
},
}
]
10-18
6367
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-21
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-14