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: [