remove legacy code
diff --git a/public/data/pie-doughnut.js b/public/data/pie-doughnut.js
index cd1a57d..0a7ab94 100644
--- a/public/data/pie-doughnut.js
+++ b/public/data/pie-doughnut.js
@@ -15,22 +15,18 @@
radius: ['50%', '70%'],
avoidLabelOverlap: false,
label: {
- normal: {
- show: false,
- position: 'center'
- },
- emphasis: {
+ show: false,
+ position: 'center'
+ },
+ emphasis: {
+ label: {
show: true,
- textStyle: {
- fontSize: '30',
- fontWeight: 'bold'
- }
+ fontSize: '30',
+ fontWeight: 'bold'
}
},
labelLine: {
- normal: {
- show: false
- }
+ show: false
},
data: [
{value: 335, name: '直接访问'},