瀏覽代碼

ecahrts的表盘向左移动一点点

mw_666 3 年之前
父節點
當前提交
9fec37c7c7
共有 1 個文件被更改,包括 2 次插入2 次删除
  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,
           itemGap: 8,
         },
         },
         radar: {
         radar: {
-          center: ["35%", "50%"],
+          center: ["25%", "50%"],
           radius: "80%",
           radius: "80%",
           startAngle: 90,
           startAngle: 90,
           splitNumber: 8,
           splitNumber: 8,
@@ -233,7 +233,7 @@ export default {
             clockwise: false,
             clockwise: false,
             startAngle: 90,
             startAngle: 90,
             radius: "70%",
             radius: "70%",
-            center: ["35%", "50%"],
+            center: ["25%", "50%"],
             hoverAnimation: false,
             hoverAnimation: false,
             roseType: "radius", //area
             roseType: "radius", //area
             data: this.list,
             data: this.list,