Browse Source

人员管理看板样式修改

cyy 10 months ago
parent
commit
15b6cb83fc
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/peopleManages/personComcont/RingChart.vue

+ 3 - 3
src/views/peopleManages/personComcont/RingChart.vue

@@ -82,7 +82,7 @@ export default {
                     }
                     }
                 },
                 },
                 label: {
                 label: {
-                    formatter: '{b}:{d}%'
+                    formatter: '{b}\n({d}%)'
                 },
                 },
                 series: [
                 series: [
                     {
                     {
@@ -98,7 +98,7 @@ export default {
                             show: true,
                             show: true,
                             position: 'outside',
                             position: 'outside',
                             fontWeight: 'bold',
                             fontWeight: 'bold',
-                            alignTo: 'edge',
+                            // alignTo: 'edge',
                             margin: '1px',
                             margin: '1px',
                             fontSize: 12,
                             fontSize: 12,
                             color: '#fff'
                             color: '#fff'
@@ -111,7 +111,7 @@ export default {
                             // },
                             // },
                         },
                         },
                         labelLine: {
                         labelLine: {
-                            show: false,
+                            // show: false,
                             distanceToLabelLine: 0
                             distanceToLabelLine: 0
                         },
                         },
                         data: this.info.data
                         data: this.info.data