fix: 测试结果统计图页面修改

This commit is contained in:
wenyann 2020-08-27 10:15:40 +08:00
parent 9d88665a1a
commit 7ddd9f23d2
1 changed files with 10 additions and 2 deletions

View File

@ -32,7 +32,7 @@ export default {
}, },
tooltip: { tooltip: {
trigger: 'item', trigger: 'item',
formatter: '{a} <br/>{b} : {c} ({d}%)' formatter: '{a} <br/>({d}%)'
}, },
legend: { legend: {
orient: 'vertical', orient: 'vertical',
@ -46,7 +46,15 @@ export default {
radius: ['40%', '70%'], radius: ['40%', '70%'],
// roseType: 'angle', // roseType: 'angle',
data: this.data, data: this.data,
animation: false animation: false,
label: {
normal: {
show: true,
position: 'outside',
formatter: '{b}:{c}'
}
}
} }
] ]
}, },