| | |
| | | <div echarts style="margin-top: 12px;" [options]="chartOption" [loading]="chartLoading" class="line-chart" (chartInit)="onChartInit($event)"></div> |
| | | </div> |
| | | <div *ngIf="isChartCollapse" style="width:100%; text-align:center;"> |
| | | <span style="font-size:18px; font-weight: bold;">{{ !isChartCollapse?'':chartTitle }}</span> |
| | | <span style="font-size:18px; font-weight: bold;">{{ _chartTitleTemp }}</span> |
| | | </div> |
| | | <a *ngIf="!!echartsIntance" style="position: absolute; right: 0; top: -10px;" class="pl-sm" (click)="toggleChartCollapse()"> |
| | | 折叠 |
| | |
| | | <ng-template #nzFixedHeader> |
| | | <thead nz-thead> |
| | | <tr> |
| | | <th nz-th [nzWidth]="'140px'" [ngStyle]="{'position': 'relative','text-align': 'center', 'left':sensorNameScrollLeft}"> |
| | | <th nz-th [nzWidth]="'160px'" [ngStyle]="{'position': 'relative','text-align': 'center', 'left':sensorNameScrollLeft}"> |
| | | <span>监测项目</span> |
| | | </th> |
| | | <th nz-th [nzWidth]="'80px'" *ngFor="let col of grid.columns" [ngStyle]="{'width':col.width,'text-align':col['align'] === undefined?'left':col.align}"> |