Browse Source

修改饼图

unknown 2 years ago
parent
commit
3194296506
1 changed files with 30 additions and 0 deletions
  1. 30 0
      investment/js/investHome.js

+ 30 - 0
investment/js/investHome.js

@@ -1037,10 +1037,40 @@ let app = new Vue({
           },
         },
         series: [
+          
+          {
+            hoverOffset: 0,
+            startAngle: 90,
+            type: "pie",
+            radius: [48, 55],
+            center: ["50%", "50%"],
+            itemStyle: {
+              normal: {
+                  borderColor: 'rgba(1,31,6,0.7)',
+                  borderWidth: 4
+              }
+            },
+            tooltip: {
+              show: false
+            },
+            labelLine: {
+              show: false
+            },
+            label: {
+              show: false
+            },
+            data: industryList
+          },
           {
             name: '',
             type: 'pie',
             radius: ['55%', '80%'],
+            itemStyle: {
+              normal: {
+                  borderColor: 'rgba(1,31,64,0.7)',
+                  borderWidth: 6
+              }
+            },
             labelLine: {
               normal: {
                 lineStyle: {