diff --git a/src/app/statistic-analysis/addUnit/add-unit-three-line-details/add-unit-three-line-details.component.ts b/src/app/statistic-analysis/addUnit/add-unit-three-line-details/add-unit-three-line-details.component.ts index b39c046..26632cf 100644 --- a/src/app/statistic-analysis/addUnit/add-unit-three-line-details/add-unit-three-line-details.component.ts +++ b/src/app/statistic-analysis/addUnit/add-unit-three-line-details/add-unit-three-line-details.component.ts @@ -134,13 +134,13 @@ export class AddUnitThreeLineDetailsComponent implements OnInit { //提示框 tooltip: { trigger: 'axis', - formatter: (params)=>{ + /* formatter: (params)=>{ if(params[0].seriesName == "year"){ return this.serviceData.tableTooltip(this.serviceData.monthTooltip,params[0].name) }else{ return this.serviceData.tableTooltip(this.serviceData.tableDataZhi,params[0].name) } - }, + }, */ position:this.serviceData.tableTooltipNoShow2 }, // x轴 diff --git a/src/app/statistic-analysis/addUnit/add-unit-two-time/add-unit-two-time.component.ts b/src/app/statistic-analysis/addUnit/add-unit-two-time/add-unit-two-time.component.ts index 9084779..8e86a3a 100644 --- a/src/app/statistic-analysis/addUnit/add-unit-two-time/add-unit-two-time.component.ts +++ b/src/app/statistic-analysis/addUnit/add-unit-two-time/add-unit-two-time.component.ts @@ -340,13 +340,13 @@ export class AddUnitTwoTimeComponent implements OnInit { //提示框 tooltip: { trigger: 'axis', - formatter: (params)=>{ + /* formatter: (params)=>{ if(params[0].seriesName == "year"){ return this.serviceData.tableTooltip(this.serviceData.monthTooltip,params[0].name) }else{ return this.serviceData.tableTooltip(this.serviceData.tableDataZhi,params[0].name) } - }, + }, */ position: this.serviceData.tableTooltipNoShow2 }, // x轴