From feda1a3904098d7b11ce0dea324e7b8db6228828 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Tue, 17 Jul 2018 13:18:56 +0800 Subject: [PATCH] 新增 企业管理 3页面 --- src/app/routes/forecasting-warning/forecasting-warning.component.ts | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/routes/forecasting-warning/forecasting-warning.component.ts b/src/app/routes/forecasting-warning/forecasting-warning.component.ts index 8f287e6..6f7f56d 100644 --- a/src/app/routes/forecasting-warning/forecasting-warning.component.ts +++ b/src/app/routes/forecasting-warning/forecasting-warning.component.ts @@ -64,7 +64,7 @@ } initForecasting() { - this.option.legend = {}; + this.option['legend'] = {}; this.option.xAxis.data = []; const temp = []; const humidity = []; @@ -136,7 +136,7 @@ this.option.series[0].name = '������������'; this.option.yAxis.name = '������������'; this.option.title.text = '���������������(������)'; - this.option.legend = { + this.option['legend'] = { right: '10%', data: ['������������', '������������'] }, @@ -146,7 +146,7 @@ } initWarning() { - this.option.legend = {}; + this.option['legend'] = {}; this.isShow = true; const PM2_5 = []; const PM10 = []; const CO = []; const NO2 = []; const O3 = []; const SO2 = []; const title = '������������������'; -- Gitblit v1.8.0