Compare commits

...

2 Commits

Author SHA1 Message Date
liuwu a76d95e089 Merge remote-tracking branch 'origin/master' 2024-03-04 14:51:04 +08:00
liuwu 0edcd5f038 修改 2024-03-04 14:50:56 +08:00
1 changed files with 42 additions and 4 deletions

View File

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