Эх сурвалжийг харах

组装、包装雷达图增加显示数值标签

xiaost 2 жил өмнө
parent
commit
e37f9c01ed

+ 2 - 35
src/components/assemblyechart/centerRight/centerRightChart/chart.vue

@@ -67,7 +67,8 @@ export default {
               lineStyle: {
                 color: "rgba(238, 197, 102, 0.5)"
               }
-            }
+            },
+            nameGap: 18
           },
           series: [
             {
@@ -91,40 +92,6 @@ export default {
                 }
               }
             },
-            /*{
-              name: "上海",
-              type: "radar",
-              lineStyle: lineStyle,
-              data: newData.dataSH,
-              symbol: "none",
-              itemStyle: {
-                normal: {
-                  color: "#B3E4A1"
-                }
-              },
-              areaStyle: {
-                normal: {
-                  opacity: 0.05
-                }
-              }
-            },
-            {
-              name: "广州",
-              type: "radar",
-              lineStyle: lineStyle,
-              data: newData.dataGZ,
-              symbol: "none",
-              itemStyle: {
-                normal: {
-                  color: "rgb(238, 197, 102)"
-                }
-              },
-              areaStyle: {
-                normal: {
-                  opacity: 0.05
-                }
-              }
-            } */
           ]
         }
       },