chenrui  1 年之前
父节点
当前提交
6110c69576

+ 44 - 20
src/views/statisticalanalysis/components/echart/echarts.js

@@ -501,15 +501,15 @@ export const collectionStatistics = {
     right: "5%",
     bottom: "5%", //也可设置left和right设置距离来控制图表的大小
   },
-  tooltip: {
-    trigger: "axis",
-    axisPointer: {
-      type: "shadow",
-      label: {
-        show: true,
-      },
-    },
-  },
+  // tooltip: {
+  //   trigger: "axis",
+  //   axisPointer: {
+  //     type: "shadow",
+  //     label: {
+  //       show: true,
+  //     },
+  //   },
+  // },
   // legend: {
   //   data: ["环比", ""],
   //   top: "0%",
@@ -605,21 +605,40 @@ export const collectionStatistics = {
       smooth: false, //平滑曲线显示
       showAllSymbol: true, //显示所有图形。
       symbol: "circle", //标记的图形为实心圆
-      symbolSize: 15, //标记的大小
+      symbolSize: 12, //标记的大小
       hoverAnimation: false,
-      // itemStyle: {
       //     //折线拐点标志的样式
-      //     color: "#66C87F",
-      //     borderWidth: '10',
+      color: "#CE2872",
+      borderWidth: "10",
       // },
       itemStyle: {
-        color: "#CE2872",
-        borderColor: "#fff",
-        borderWidth: 4,
-        shadowColor: "rgba(0, 0, 0, 0)",
-        shadowBlur: 0,
-        shadowOffsetY: 2,
-        shadowOffsetX: 2,
+        normal: {
+          color: "#CE2872",
+          borderColor: "#fff",
+          borderWidth: 4,
+          shadowColor: "rgba(0, 0, 0, 0)",
+          shadowBlur: 0,
+          shadowOffsetY: 2,
+          shadowOffsetX: 2,
+          label: {
+            show: true,
+            position: "top",
+            fontSize: 12,
+            // borderColor: "#fff",
+            textStyle: {
+              color: "black",
+            },
+          },
+        },
+        // emphasis: {
+        //   color: "#CE2872",
+        //   borderColor: "#fff",
+        //   borderWidth: 4,
+        //   shadowColor: "rgba(0, 0, 0, 0)",
+        //   shadowBlur: 0,
+        //   shadowOffsetY: 2,
+        //   shadowOffsetX: 2,
+        // },
       },
       lineStyle: {
         color: "#CE2872",
@@ -635,6 +654,11 @@ export const collectionStatistics = {
       barWidth: 18,
       yAxisIndex: 0,
       itemStyle: {
+        normal: {
+          label: {
+            show: true,
+          },
+        },
         color: {
           type: "linear",
           x: 0,

+ 0 - 6
src/views/statisticalanalysis/components/echart/tableforms.vue

@@ -1302,12 +1302,6 @@ export default {
           needFilters: 1,
           needSort: 1,
         },
-        {
-          columnName: "ChannelId",
-          columnLabel: "通道",
-          needFilters: 1,
-          needSort: 1,
-        },
         {
           columnName: "codeNum",
           columnLabel: "龙门架扫码数",