Commit f8da9b2d authored by wangqinghua's avatar wangqinghua

update

parent 71b0c734
...@@ -142,7 +142,7 @@ export class FlowTrendComponent implements OnInit { ...@@ -142,7 +142,7 @@ export class FlowTrendComponent implements OnInit {
tooltip: {}, tooltip: {},
xAxis: { xAxis: {
data: this.inEchartData.map(e=>{ data: this.inEchartData.map(e=>{
return e.clockDate; return e.clock;
}), }),
name: '时间', name: '时间',
silent: false, silent: false,
...@@ -178,21 +178,21 @@ export class FlowTrendComponent implements OnInit { ...@@ -178,21 +178,21 @@ export class FlowTrendComponent implements OnInit {
}, },
series: [ series: [
{ {
name: 'bar3', name: '进口流量',
type: 'bar', type: 'bar',
stack: 'one', stack: 'one',
itemStyle: itemStyle, itemStyle: itemStyle,
data: this.inEchartData.map(e=>{ data: this.inEchartData.map(e=>{
return e.value_avg; return e.avg;
}) })
}, },
{ {
name: 'bar3', name: '出口流量',
type: 'bar', type: 'bar',
stack: 'two', stack: 'two',
itemStyle: itemStyle, itemStyle: itemStyle,
data: this.outEchartData.map(e=>{ data: this.outEchartData.map(e=>{
return -e.value_avg; return -e.avg;
}) })
} }
] ]
......
...@@ -7,7 +7,7 @@ import { Component, OnInit } from '@angular/core'; ...@@ -7,7 +7,7 @@ import { Component, OnInit } from '@angular/core';
}) })
export class WorkHandleComponent implements OnInit { export class WorkHandleComponent implements OnInit {
timeFormatL = 'yyyy-MM-dd'; timeFormat = 'yyyy-MM-dd';
eventList; eventList;
timeBegin; timeBegin;
timeEnd; timeEnd;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment