Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
a511229e
Commit
a511229e
authored
May 28, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bottleneck Analysis: rename Max Utilisation to Target Utilisation and reorder series
parent
7d80bea5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dream/plugins/DemandPlanning/DemandPlanningLine.py
dream/plugins/DemandPlanning/DemandPlanningLine.py
+4
-4
No files found.
dream/plugins/DemandPlanning/DemandPlanningLine.py
View file @
a511229e
...
...
@@ -45,9 +45,9 @@ class DemandPlanningLine(plugin.OutputPreparationPlugin, TimeSupportMixin):
# create the 3 lines
for
(
utilizationType
,
utilizationLabel
)
in
[
(
'averageUtilization'
,
'Average Utilization'
),
(
'minUtilization'
,
'Min Utilization'
),
(
'maxUtilization'
,
'Max Utilization'
)
]:
(
'averageUtilization'
,
'Average Utilization'
),
(
'maxUtilization'
,
'Target Utilization'
)
]:
utilizationList
=
[]
for
record_id
,
record
in
bottleNeckUtilization
.
iteritems
():
year
=
str
(
record_id
)[
0
:
4
]
...
...
@@ -110,9 +110,9 @@ class BottleNeckByWeek(plugin.OutputPreparationPlugin, TimeSupportMixin):
# create the 3 bars
for
(
utilizationType
,
utilizationLabel
)
in
[
(
'averageUtilization'
,
'Average Utilization'
),
(
'minUtilization'
,
'Min Utilization'
),
(
'maxUtilization'
,
'Max Utilization'
)
]:
(
'averageUtilization'
,
'Average Utilization'
),
(
'maxUtilization'
,
'Target Utilization'
)
]:
series
.
append
({
"label"
:
utilizationLabel
,
"data"
:
list
(
enumerate
([
x
[
utilizationType
]
for
x
in
bottleneckData
.
values
()])),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment