From 52736a42916bdba2eb208b70703089310923c8de Mon Sep 17 00:00:00 2001 From: xufenglei <xufenglei> Date: Mon, 16 Jul 2018 10:58:03 +0800 Subject: [PATCH] 预报预警 --- src/app/routes/home-page/home-page/home-page.component.ts | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/routes/home-page/home-page/home-page.component.ts b/src/app/routes/home-page/home-page/home-page.component.ts index 5333df9..e6338ef 100644 --- a/src/app/routes/home-page/home-page/home-page.component.ts +++ b/src/app/routes/home-page/home-page/home-page.component.ts @@ -56,7 +56,7 @@ } ); } - + public aqiChartOption = {}; public aqiEchartsIntance; public aqiChartLoading = false; @@ -66,11 +66,11 @@ public meteChartOption = {}; public meteEchartsIntance; public meteChartLoading = false; - private onMeteChartInit(e): void { + public onMeteChartInit(e): void { this.meteEchartsIntance = e; } private reloadAqiChart(): void { - // const timeList = this.grid.columns.map(item => item.text); + // const timeList = this.grid.columns.map(item => item.text); if (!!this.aqiEchartsIntance) { this.aqiChartOption = null; this.aqiEchartsIntance.clear(); @@ -79,7 +79,7 @@ // if ( this.chartSelectedIndex < this.grid.data.length ) { // series = [{type: 'line', data: this.grid.data[this.chartSelectedIndex]}]; // } - + // this.initOpton(chartOption ,{ xAxis : [{data : []}]}); // this.aqiChartOption = true; this.initOpton(this.aqiChartOption ,{ xAxis : [{data : this.newArray(0, 24, null, '���')}]}); -- Gitblit v1.8.0