yangfeng
2023-12-07 1dbdda3517a01851d8d9894b22e61aa4462b541c
src/views/cockpitPage/components/PerSonnelProductivity.vue
@@ -70,6 +70,9 @@
            axisPointer: {
              type: "none",
            },
            valueFormatter: function (value) {
              return value + "%";
            },
          },
          grid: {
            right: "80px",
@@ -136,7 +139,7 @@
          xAxis: [
            {
              type: "value",
              name: "单位:件",
              // name: "单位:件",
              // min: data.yAxis[0].min?data.yAxis.min:0,
              minInterval: 1, //坐标轴是整数
              max: Math.ceil(eval(`Math.max(${data.datay})`) / 5) * 5, //数据最大值加3
@@ -253,6 +256,9 @@
          color: ["#dcb018", "#735b09", "#ebd68e", "#c7b36e"],
          tooltip: {
            trigger: "item",
            valueFormatter: function (value) {
              return value + "%";
            },
          },
          graphic: {
            elements: [