|
@@ -125,31 +125,9 @@ export default {
|
|
|
if (ele.name === "偏差上限") {
|
|
|
ele.areaStyle = that.linearGradientColor[0];
|
|
|
ele.silent = true;
|
|
|
- // ele.emphasis = {
|
|
|
- // focus: "none", // 取消高亮
|
|
|
- // itemStyle: {
|
|
|
- // color: null, // 不改变颜色
|
|
|
- // borderColor: null, // 不改变边框颜色
|
|
|
- // borderWidth: 0, // 不改变边框宽度
|
|
|
- // shadowBlur: 0, // 不添加阴影
|
|
|
- // shadowColor: null, // 不改变阴影颜色
|
|
|
- // opacity: 1, // 不改变透明度
|
|
|
- // },
|
|
|
- // };
|
|
|
} else if (ele.name === "偏差下限") {
|
|
|
ele.areaStyle = that.linearGradientColor[1];
|
|
|
ele.silent = true;
|
|
|
- // ele.emphasis = {
|
|
|
- // focus: "none", // 取消高亮
|
|
|
- // itemStyle: {
|
|
|
- // color: null, // 不改变颜色
|
|
|
- // borderColor: null, // 不改变边框颜色
|
|
|
- // borderWidth: 0, // 不改变边框宽度
|
|
|
- // shadowBlur: 0, // 不添加阴影
|
|
|
- // shadowColor: null, // 不改变阴影颜色
|
|
|
- // opacity: 1, // 不改变透明度
|
|
|
- // },
|
|
|
- // };
|
|
|
}
|
|
|
|
|
|
if (ele.name === "实发有功" && markItem.res) {
|
|
@@ -361,10 +339,10 @@ export default {
|
|
|
myChart.setOption(option);
|
|
|
|
|
|
myChart.off("brushSelected");
|
|
|
- myChart.on("brushSelected", (params) => {
|
|
|
- that.$emit("getSelected", params.batch || []);
|
|
|
- });
|
|
|
- myChart.off("click");
|
|
|
+ // myChart.on("brushSelected", (params) => {
|
|
|
+ // that.$emit("getSelected", params.batch || []);
|
|
|
+ // });
|
|
|
+ myChart.off("legendselectchanged");
|
|
|
});
|
|
|
},
|
|
|
|