From 97d51b5b848e74c905502f1ee14c833a2df75394 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Mon, 16 Jul 2018 13:31:52 +0800
Subject: [PATCH] 预报预警
---
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