From 5efebb555efd984f3dd35de83e465cd53aaf8175 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 26 四月 2024 10:34:51 +0800 Subject: [PATCH] 完善左上角切换监测因子后,折线图联动切换功能 --- entity/Factor.js | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/entity/Factor.js b/entity/Factor.js index 2be87c6..61cd64a 100644 --- a/entity/Factor.js +++ b/entity/Factor.js @@ -17,6 +17,7 @@ this.datas = [] // 鍘熷鏁版嵁 // this.lnglats = [] //3d鍦板浘褰撳墠灞曠ず鍧愭爣鐐规暟缁� this.factorName + this.factorId this.heights = [] //3d鍦板浘褰撳墠灞曠ず鍧愭爣鐐瑰搴旂殑楂樺害鏁扮粍 this.colors = [] // 3d鍦板浘褰撳墠灞曠ず鍧愭爣鐐瑰搴旂殑棰滆壊鏁扮粍 this.bottomColor//鏈�灏忓�煎搴旂殑鍥句緥鑹� @@ -38,6 +39,7 @@ this.originMax = options.originMax this.factorName = options.factorName + this.factorId = options.factorId this.colors = options.colors this.bottomColor = options.bottomColor this.standardMin = options.standardMin @@ -50,6 +52,7 @@ pushData: function(data, drawMode) { if (this.factorName == undefined) { this.factorName = data.factorName + this.factorId = data.factorId } else { if (this.factorName != data.factorName) { console.log("閿欒: Factor涓彃鍏ョ殑鏁版嵁鍓嶅悗鍚嶇О涓嶄竴鑷达紝鍘熷洜瀛愶細" + this.factorName + "锛屾柊鍥犲瓙锛�" + data.factorName); -- Gitblit v1.9.3