Temporary UI for time KPI "Margin with deadline"
FEA: ItEr75S27PerProjectDashboard
This commit is contained in:
parent
2eaa32ece5
commit
c63f5a4cae
2 changed files with 20 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ public class DashboardController extends GenericForwardComposer {
|
|||
private Chart progressKPIglobalProgressChart;
|
||||
private Chart progressKPItaskStatusChart;
|
||||
private Chart progressKPItaskDeadlineViolationStatusChart;
|
||||
private Chart timeKPImarginWithDeadlineChart;
|
||||
|
||||
public DashboardController() {
|
||||
}
|
||||
|
|
@ -80,6 +81,13 @@ public class DashboardController extends GenericForwardComposer {
|
|||
generateProgressKPIglobalProgressChart();
|
||||
generateProgressKPItaskStatusChart();
|
||||
generateProgressKPItaskDeadlineViolationStatusChart();
|
||||
generateTimeKPImarginWithDeadlineChart();
|
||||
}
|
||||
|
||||
private void generateTimeKPImarginWithDeadlineChart() {
|
||||
CategoryModel categoryModel;
|
||||
categoryModel = refreshTimeKPImarginWithDeadlineCategoryModel();
|
||||
timeKPImarginWithDeadlineChart.setModel(categoryModel);
|
||||
}
|
||||
|
||||
private void generateProgressKPItaskStatusChart() {
|
||||
|
|
@ -132,4 +140,11 @@ public class DashboardController extends GenericForwardComposer {
|
|||
return result;
|
||||
}
|
||||
|
||||
private CategoryModel refreshTimeKPImarginWithDeadlineCategoryModel() {
|
||||
CategoryModel result = new SimpleCategoryModel();
|
||||
result.setValue(_("None"), _("Deviation"),
|
||||
dashboardModel.getMarginWithDeadLine());
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,6 +46,11 @@
|
|||
title="${i18n:_('Deadline violation')}"
|
||||
paneColor="#FFFFFF" bgColor="#FFFFFF"
|
||||
showLegend="true" showTooltiptext="true" />
|
||||
<chart id="timeKPImarginWithDeadlineChart"
|
||||
height="400px" width="600px" type="bar"
|
||||
threeD="true" yAxis="x D days" orient="vertical"
|
||||
title="${i18n:_('Margin with deadline')}"
|
||||
paneColor="#FFFFFF" showLegend="false" />
|
||||
</hbox>
|
||||
</vbox>
|
||||
</window>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue