Browse Source

ecahrts的表盘向左移动一点点

mw_666 3 years ago
parent
commit
9fec37c7c7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/chart/pie/radar-pie-chart.vue

+ 2 - 2
src/components/chart/pie/radar-pie-chart.vue

@@ -98,7 +98,7 @@ export default {
           itemGap: 8,
         },
         radar: {
-          center: ["35%", "50%"],
+          center: ["25%", "50%"],
           radius: "80%",
           startAngle: 90,
           splitNumber: 8,
@@ -233,7 +233,7 @@ export default {
             clockwise: false,
             startAngle: 90,
             radius: "70%",
-            center: ["35%", "50%"],
+            center: ["25%", "50%"],
             hoverAnimation: false,
             roseType: "radius", //area
             data: this.list,