Commit c7b94fa5 authored by Jérome Perrin's avatar Jérome Perrin

show station ids in utilization graph

parent 1a29cd7a
...@@ -338,7 +338,7 @@ ...@@ -338,7 +338,7 @@
link: [] link: []
}; };
$.each(result.elementList.sort(function(a,b) {return a.name > b.name ? -1 : 1}), $.each(result.elementList.sort(function(a,b) {return a.id < b.id ? -1 : 1}),
function (idx, obj) { function (idx, obj) {
if (obj.results !== undefined && obj.results.working_ratio !== undefined) { if (obj.results !== undefined && obj.results.working_ratio !== undefined) {
/* when there is only one replication, the ratio is given as a float, /* when there is only one replication, the ratio is given as a float,
...@@ -383,8 +383,7 @@ ...@@ -383,8 +383,7 @@
} }
failure_data.push([counter, failure_ratio]); failure_data.push([counter, failure_ratio]);
ticks.push([counter, that.getData().nodes[ ticks.push([counter, obj.id]);
obj.id].name || obj.id]);
counter++; counter++;
} }
......
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