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

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

xiaost 2 жил өмнө
parent
commit
70acbb1fa3

+ 5 - 1
src/components/assemblyechart/centerRight/centerRightChart/chart.vue

@@ -75,7 +75,11 @@ export default {
               type: "radar",
               lineStyle: lineStyle,
               data: newData.dataRadius,
-              symbol: "none",
+              symbol: "circle",
+              label: {
+                show: true,
+                offset: [0, 3],
+              },
               itemStyle: {
                 normal: {
                   color: "#F9713C"

+ 7 - 2
src/components/packageechart/centerRight/centerRightChart/chart.vue

@@ -67,7 +67,8 @@ export default {
               lineStyle: {
                 color: "rgba(238, 197, 102, 0.5)"
               }
-            }
+            },
+            nameGap: 18
           },
           series: [
             {
@@ -75,7 +76,11 @@ export default {
               type: "radar",
               lineStyle: lineStyle,
               data: newData.dataRadius,
-              symbol: "none",
+              symbol: "circle",
+              label: {
+                show: true,
+                offset: [0, 3],
+              },
               itemStyle: {
                 normal: {
                   color: "#F9713C"