Skip to content

Commit 7c76b25

Browse files
committed
fix data add order
1 parent 7b04ac5 commit 7c76b25

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

OpenFlow/src/public/Controllers.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ module openflow {
7878
chart.data = [[], [], []];
7979
for (var x = 0; x < stats.length; x++) {
8080
var model = stats[x].value;
81-
chart.data[1].push(model.minrun);
82-
chart.data[2].push(model.run);
83-
chart.data[0].push(model.maxrun);
81+
chart.data[0].push(model.minrun);
82+
chart.data[1].push(model.run);
83+
chart.data[2].push(model.maxrun);
8484
var id = stats[x]._id;
8585
var workflow = workflows.filter(x => x._id == id)[0];
8686
if (workflow == undefined) { chart.labels.push("unknown"); } else { chart.labels.push(workflow.name); }

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.82
1+
0.0.83

0 commit comments

Comments
 (0)