xufenglei
2018-07-16 97d51b5b848e74c905502f1ee14c833a2df75394
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 = '空气质量因子';