|
|
@ -4,11 +4,11 @@ |
|
|
|
* @Author: sueRimn |
|
|
|
* @Author: sueRimn |
|
|
|
* @Date: 2021-05-08 09:42:43 |
|
|
|
* @Date: 2021-05-08 09:42:43 |
|
|
|
* @LastEditors: sueRimn |
|
|
|
* @LastEditors: sueRimn |
|
|
|
* @LastEditTime: 2021-05-13 14:04:20 |
|
|
|
* @LastEditTime: 2021-05-13 14:24:42 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
import { Component, OnInit } from '@angular/core'; |
|
|
|
import { Component, OnInit } from '@angular/core'; |
|
|
|
import { ActivatedRoute, Router } from '@angular/router'; |
|
|
|
import { ActivatedRoute, Router } from '@angular/router'; |
|
|
|
import {FormGroup, FormControl} from '@angular/forms'; |
|
|
|
//import {Foimport { FormGroup, FormControl } from '@angular/forms';
|
|
|
|
import { EchartsDataService } from '../echarts-data.service'; |
|
|
|
import { EchartsDataService } from '../echarts-data.service'; |
|
|
|
import { MatSnackBar, MatSnackBarConfig } from '@angular/material/snack-bar'; |
|
|
|
import { MatSnackBar, MatSnackBarConfig } from '@angular/material/snack-bar'; |
|
|
|
import { DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE } from '@angular/material/core'; |
|
|
|
import { DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE } from '@angular/material/core'; |
|
|
@ -132,9 +132,9 @@ export class RealMonitoringComponent implements OnInit { |
|
|
|
this.leftzhutu.dispose() |
|
|
|
this.leftzhutu.dispose() |
|
|
|
this.dateyue = [] |
|
|
|
this.dateyue = [] |
|
|
|
this.dateNum = [] |
|
|
|
this.dateNum = [] |
|
|
|
this.zhiNameData = [] |
|
|
|
//this.zhiNameData = []
|
|
|
|
this.zhiNumData = [] |
|
|
|
//this.zhiNumData = []
|
|
|
|
this.addyuan=[] |
|
|
|
//this.addyuan = []
|
|
|
|
this.getechartsdata(false) |
|
|
|
this.getechartsdata(false) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -186,6 +186,8 @@ export class RealMonitoringComponent implements OnInit { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
yAxis: { |
|
|
|
yAxis: { |
|
|
|
type: 'value', |
|
|
|
type: 'value', |
|
|
@ -196,6 +198,8 @@ export class RealMonitoringComponent implements OnInit { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
/* tooltip: { |
|
|
|
/* tooltip: { |
|
|
|
trigger: 'item', |
|
|
|
trigger: 'item', |
|
|
@ -390,6 +394,8 @@ export class RealMonitoringComponent implements OnInit { |
|
|
|
} |
|
|
|
} |
|
|
|
} //function
|
|
|
|
} //function
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
yAxis: { |
|
|
|
yAxis: { |
|
|
|
type: 'value', |
|
|
|
type: 'value', |
|
|
@ -405,7 +411,7 @@ export class RealMonitoringComponent implements OnInit { |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: 'slider', |
|
|
|
type: 'slider', |
|
|
|
bottom:90, |
|
|
|
bottom:90, |
|
|
|
backgroundColor:'rgba(47,69,84,-0.2)', |
|
|
|
//backgroundColor:'rgba(47,69,84,-0.2)',
|
|
|
|
dataBackground:{ |
|
|
|
dataBackground:{ |
|
|
|
areaStyle:{ |
|
|
|
areaStyle:{ |
|
|
|
opacity:0 |
|
|
|
opacity:0 |
|
|
@ -421,9 +427,7 @@ export class RealMonitoringComponent implements OnInit { |
|
|
|
symbolSize: [65, 65], |
|
|
|
symbolSize: [65, 65], |
|
|
|
data: this.EchartsData.qipao(this.tiaoshiPao, this.zhiNumData, this.zhiNameData) |
|
|
|
data: this.EchartsData.qipao(this.tiaoshiPao, this.zhiNumData, this.zhiNameData) |
|
|
|
}, |
|
|
|
}, |
|
|
|
backgroundStyle: { |
|
|
|
|
|
|
|
color: 'rgba(220, 220, 220, 0.8)' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//barWidth :'38',
|
|
|
|
//barWidth :'38',
|
|
|
|
//label: this.topTextlabel
|
|
|
|
//label: this.topTextlabel
|
|
|
|
}] |
|
|
|
}] |
|
|
|