textreport report "Plan" {
formats html
header '== <-query attribute="name"-> =='
center -8<-
[#Plan Plan] | [#Status Status] | [#Resource_Allocation Resource Allocation]
----
=== Plan ===
<[report id="plan"]>
----
=== Status ===
<[report id="status.completed"]>
----
<[report id="status.ongoing"]>
----
<[report id="status.future"]>
----
=== Resource Allocation ===
<[report id="resourceGraph"]>
->8-
}
# A traditional Gantt chart with a project overview.
taskreport plan "" {
headline "Project Plan"
columns bsi, name, start, end, effort, chart
loadunit shortauto
hideresource 1
}
taskreport status "" {
columns bsi, name { width 150 }, start { width 100 }, end { width 100 },
effort { width 75 }, status { width 75 }, gauge {width 150 }
loadunit shortauto
taskreport completed "" {
headline "Completed tasks"
hidetask plan.complete < 100.0
sorttasks plan.start.up
}
taskreport ongoing "" {
headline "Ongoing tasks"
hidetask ~(isleaf() & (plan.start <= ${now}) & (plan.complete < 100.0))
}
taskreport future "" {
headline "Future tasks"
hidetask ~(plan.start > ${now} & (plan.complete < 100.0))
}
}
# A graph showing resource allocation. It identifies whether each
# resource is under- or over-allocated for.
resourcereport resourceGraph "" {
headline "Resource Allocation Graph"
columns no, name, effort, weekly
loadunit shortauto
hidetask ~(isleaf() & isleaf_())
sorttasks plan.start.up
}