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

DemandPlanning: sort stations in "utilisation by week" chart

parent a7df2192
......@@ -115,7 +115,7 @@ class BottleNeckByWeek(plugin.OutputPreparationPlugin, TimeSupportMixin):
( 'maxUtilization', 'Target Utilization' ) ]:
series.append({
"label": utilizationLabel,
"data": list(enumerate([x[utilizationType] for x in bottleneckData.values()])),
"data": list(enumerate([x[utilizationType] for x in sorted(bottleneckData.values())])),
})
return data
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