| | |
| | | this.standardMin = -1; //监测因子类型对应的标准最小值 |
| | | this.standardMax = -1; //监测因子类型对应的标准最大值 |
| | | |
| | | this.legendType = Legend.S_TYPE; //图例模式 |
| | | // this.legendType = Legend.S_TYPE; //图例模式 |
| | | this.legendType = Legend.D_TYPE; //图例模式 |
| | | |
| | | if (options != undefined) { |
| | | this.datas = options.datas; |
| | |
| | | this.heights = []; |
| | | this.colors = []; |
| | | this.datas.forEach((d) => { |
| | | const h = getFactorHeight(d.factorId, d.factorData, [this.min, this.max]); |
| | | let h = getFactorHeight(d.factorId, d.factorData, [this.min, this.max]); |
| | | if (d.factorData == -1) { |
| | | h = -1; |
| | | } |