@@ -30,7 +30,12 @@
left: 'center',
top: 'center'
},
- tooltip: {},
+ tooltip: {
+ trigger: 'item',
+ formatter: function(params) {
+ return `问卷完成度:${ (((that.total - that.noAnswerdCount) / that.total) * 100).toFixed(2) }%`
+ }
+ },
angleAxis: {
max: 100,
clockwise: false, // 逆时针