This commit is contained in:
liuwu 2024-03-04 14:50:56 +08:00
parent 6faaa71bf5
commit 0edcd5f038
1 changed files with 42 additions and 4 deletions

View File

@ -372,28 +372,60 @@
name: '',
axisLabel:{
color:'#fff'
}
},
label: {
show: true,
position: 'top',
color: '#FFFFFF',
formatter: '{c}分'
},
},
series: [
{
name: '日常考核指标',
showBackground: true,
itemStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{offset: 0, color: '#0096FF'},
{offset: 1, color: '#66F4FF'}
])
},
type: 'bar',
tooltip: {
valueFormatter: function (value) {
return value + ' 分';
}
},
data: sData1
data: sData1,
label: {
show: true,
position: 'top',
color: '#FFFFFF',
formatter: '{c}分'
},
},
{
name: '季度考核指标',
showBackground: true,
itemStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{offset: 0, color: '#0096FF'},
{offset: 1, color: '#66F4FF'}
])
},
type: 'bar',
tooltip: {
valueFormatter: function (value) {
return value + ' 分';
}
},
data: sData2
data: sData2,
label: {
show: true,
position: 'top',
color: '#FFFFFF',
formatter: '{c}分'
},
},
]
};
@ -522,7 +554,13 @@
type: 'line',
areaStyle: {
color:'#02abe0'
}
},
label: {
show: true,
position: 'top',
color: '#FFFFFF',
formatter: '{c}分'
},
}
]
};