Browse Source

[完善]echarts提示框显示不全

master
邵佳豪 4 years ago
parent
commit
e93f9a8ce0
  1. 2
      src/app/statistic-analysis/deleteUnit/delete-four/delete-four.component.scss
  2. 7
      src/app/statistic-analysis/deleteUnit/delete-two/delete-two.component.ts

2
src/app/statistic-analysis/deleteUnit/delete-four/delete-four.component.scss

@ -8,6 +8,6 @@
position: absolute;
left: 50%;
top: 45%;
transform: translate(-50%,-50%);
transform: translate(-50%,-60%);
}
}

7
src/app/statistic-analysis/deleteUnit/delete-two/delete-two.component.ts

@ -32,9 +32,8 @@ export class DeleteTwoComponent implements OnInit {
ngOnInit(): void {
this.dateInit()
this.echartsData.tableTooltipNoShow2
window.setTimeout(()=>{
console.log(this.selectType)
this.headZhexian('heads','删除数量总统计',this.datayuex,this.datayuey)
this.headZhexian('leftOne','高层',this.datayuex,this.datayuey)
@ -189,7 +188,8 @@ export class DeleteTwoComponent implements OnInit {
},
backgroundColor:'rgba(255,255,255,1)',//通过设置rgba调节背景颜色与透明度
borderWidth:'1',
borderRadius :'0'
borderRadius :'0',
position: this.echartsData.tableTooltipNoShow
},
xAxis: {
type: 'category',
@ -254,7 +254,6 @@ export class DeleteTwoComponent implements OnInit {
this.echartsData.statefulInspectionName =params.name+headtext;
this.router.navigateByUrl(`/statisticanalysis/delete_one/delete_there`);
}
});
this.headZx.setOption(options);
}

Loading…
Cancel
Save