Commit e6b7900c authored by Georgios Dagkakis's avatar Georgios Dagkakis

change label in Gantt

parent 161de1f7
...@@ -46,7 +46,7 @@ class DemandPlanningLine(plugin.OutputPreparationPlugin, TimeSupportMixin): ...@@ -46,7 +46,7 @@ class DemandPlanningLine(plugin.OutputPreparationPlugin, TimeSupportMixin):
# create the 3 lines # create the 3 lines
for (utilizationType, utilizationLabel) in [ for (utilizationType, utilizationLabel) in [
( 'minUtilization', 'Min Utilization' ), ( 'minUtilization', 'Min Utilization' ),
( 'averageUtilization', 'Average Utilization' ), ( 'averageUtilization', 'Actual Utilization' ),
( 'maxUtilization', 'Target Utilization' ) ]: ( 'maxUtilization', 'Target Utilization' ) ]:
utilizationList=[] utilizationList=[]
for record_id, record in bottleNeckUtilization.iteritems(): for record_id, record in bottleNeckUtilization.iteritems():
...@@ -111,7 +111,7 @@ class BottleNeckByWeek(plugin.OutputPreparationPlugin, TimeSupportMixin): ...@@ -111,7 +111,7 @@ class BottleNeckByWeek(plugin.OutputPreparationPlugin, TimeSupportMixin):
# create the 3 bars # create the 3 bars
for (utilizationType, utilizationLabel) in [ for (utilizationType, utilizationLabel) in [
( 'minUtilization', 'Min Utilization' ), ( 'minUtilization', 'Min Utilization' ),
( 'averageUtilization', 'Average Utilization' ), ( 'averageUtilization', 'Actual Utilization' ),
( 'maxUtilization', 'Target Utilization' ) ]: ( 'maxUtilization', 'Target Utilization' ) ]:
series.append({ series.append({
"label": utilizationLabel, "label": utilizationLabel,
......
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