From aefa2dc89b44f21453e9e3bf19c90d41b1c83e8e Mon Sep 17 00:00:00 2001 From: 沈斌 <bluelazysb@hotmail.com> Date: Fri, 13 Jul 2018 15:22:13 +0800 Subject: [PATCH] updates --- 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