update 质量管理

This commit is contained in:
lb
2022-11-22 13:21:44 +08:00
parent 4055142b3c
commit bf6ecba045
2 changed files with 26 additions and 10 deletions

View File

@@ -142,7 +142,7 @@ export default {
show: true,
position: 'top',
color: '#fff8',
fontSize: 8,
fontSize: 10,
offset: [0, 6]
}
}
@@ -174,9 +174,22 @@ export default {
},
axisLabel: {
color: '#fff8',
fontSize: 10
fontSize: 12
},
data: ['脏污', '破片', '崩边', '崩孔', '划擦伤', '其他']
data: ['脏污', '破片', '崩边', '崩孔', '划擦伤', '其他'],
axisPointer: {
show: true,
type: 'shadow',
label: {
show: true,
formatter: params => {
let info_arr = params.seriesData.filter(item => item.seriesType === 'bar')
let v = [`<${info_arr[0].name}>详细数据: \n`]
info_arr.map(item => { v.push(`${item.seriesName}: ${item.data}`) })
return v.join('\n')
}
}
}
},
yAxis: {
type: 'value',