浏览代码

驾驶舱调整

jiawuxian 1 年之前
父节点
当前提交
b15b4f8365
共有 1 个文件被更改,包括 15 次插入4 次删除
  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: [
           {