@@ -242,7 +242,10 @@ export default {
axisLabel: {
color:'#848484',
fontSize:12,
- formatter:(value)=>{
+ formatter:(value,index)=>{
+ if(index%2!==0&&this.numberChart){
+ return '';
+ }
if(!this.normalChart&&!this.numberChart){
value = value*100+'%'
}
@@ -349,6 +352,9 @@ export default {
let normalDatex=["90~100","80~90","70~80","60~70","50~60","40~50","30~40","20~30","10~20","0~10"];
option.xAxis.data=normalDatex;
option.xAxis.name="达标区间(%)";
+ option.xAxis.nameTextStyle={
+ color:"#aaaaaa"
option.yAxis.show=false;
// option.grid.top="45"
option.title={
@@ -174,8 +174,10 @@ export default {
-
+ if(index%2!==0&&changConst>=8){
return value+this.envMap[this.envType].unit
},
@@ -1565,7 +1565,7 @@ export default {
item.assess = item.co2MaxSolubility>assessNum?'较高':'正常';
item.co2MaxSolubility=(typeof(item.co2MaxSolubility)=='number')?item.co2MaxSolubility.toFixed(0):'--';
}else{
- item.assess = item.hchoMaxSolubility>1?'较高':'正常';
+ item.assess = item.hchoMaxSolubility>assessNum?'较高':'正常';
item.hchoMaxSolubility = item.hchoMaxSolubility.toFixed(2);