Browse Source

驾驶舱调整

jiawuxian 1 year ago
parent
commit
b15b4f8365
1 changed files with 15 additions and 4 deletions
  1. 15 4
      src/views/board/charts/safetycheck/report.vue

+ 15 - 4
src/views/board/charts/safetycheck/report.vue

@@ -180,18 +180,29 @@ export default {
         grid: {
           // left: "3%",
           // right: "4%",
-          bottom: "2%",
-          top: "20px",
+          bottom: "0",
+          top: "0",
           // containLabel: true,
         },
 
         radar: {
           indicator: this.data.map((d) => ({ name: d.type })),
-          center: ["28%", "50%"],
-          radius: 55,
+          center: ["28%", "51%"],
+          radius: 60,
+          splitNumber:4,
           axisName: {
             color: "#fff",
           },
+          axisLine:{
+            lineStyle:{
+              color:'rgb(230,230,230)'
+            }
+          },
+          splitLine:{
+            lineStyle:{
+              color:'rgb(230,230,230)'
+            }
+          }
         },
         series: [
           {