fengxiang
2018-02-27 b4f60bc9c5f2f74eee61c2fc2a639618aaf52c2b
src/app/routes/reports/demo/demo.component.ts
@@ -21,12 +21,12 @@
    mode: 'month'
  };
  private sensorOptions = [];
  public sensorOptions = [];
  private monitorPointOptions = [];
  private deviceOptions = [];
  private monitorPointbOptions = [];
  private devicebOptions = [];
  public monitorPointOptions = [];
  public deviceOptions = [];
  public monitorPointbOptions = [];
  public devicebOptions = [];
  constructor(
    public http: HttpClient,
@@ -144,7 +144,7 @@
    }
  }
  private typeOptions = [
  public typeOptions = [
    {value: 'year', label: '年', mode: 'month', xAxisName: '月', format: 'yyyy', typeFormat: '%Y-%m'},
    {value: 'month', label: '月', mode: 'month', xAxisName: '日', format: 'yyyy-MM', typeFormat: '%Y-%m-%d'},
    {value: 'day', label: '日', mode: 'day', xAxisName: '时', format: 'yyyy-MM-dd', typeFormat: '%Y-%m-%d %H'},