use of net.sourceforge.processdash.data.util.ResultSet in project processdash by dtuma.
the class QualityAnalysisPage method getQualityCostByPhase.
@//
Chart(//
id = "qualityPhases", //
type = "line", //
titleKey = "Quality.COQ_Phase_Title", format = "units=${Percent_Time}\nnoSkipLegend=t")
public ResultSet getQualityCostByPhase(ChartData chartData) {
List<String> qualityPhases = chartData.histData.getPhasesOfType(PhaseType.Appraisal, PhaseType.Failure);
ResultSet data = chartData.getEnactmentResultSet(qualityPhases.size());
writePhaseTimePct(data, 1, qualityPhases.toArray());
return data;
}
use of net.sourceforge.processdash.data.util.ResultSet in project processdash by dtuma.
the class PlanAnalysisPage method getTotalActualTime.
@Chart(id = "totalTime", type = "line", titleKey = "Plan.Time_Title")
public ResultSet getTotalActualTime(ChartData chartData) {
ResultSet data = chartData.getEnactmentResultSet("Hours");
for (int row = data.numRows(); row > 0; row--) {
Enactment e = (Enactment) data.getRowObj(row);
data.setData(row, 1, num(e.actualTime() / 60));
}
return data;
}
use of net.sourceforge.processdash.data.util.ResultSet in project processdash by dtuma.
the class ProcessAnalysisPage method getPhaseTimePctSet.
public static ResultSet getPhaseTimePctSet(ChartData chartData, PhaseType type) {
List<String> phases = chartData.getPhases(type);
if (phases.isEmpty())
return null;
ResultSet data = chartData.getEnactmentResultSet(phases.size());
writePhaseTimePct(data, 1, phases.toArray());
return data;
}
use of net.sourceforge.processdash.data.util.ResultSet in project processdash by dtuma.
the class ProcessAnalysisPage method getProductivityVsFailure.
@//
Chart(//
id = "prodVsFailure", //
type = "xy", titleKey = "Process.Productivity_Vs_Failure_Title")
public ResultSet getProductivityVsFailure(ChartData chartData) {
ResultSet data = chartData.getEnactmentResultSet(2);
data.setColName(1, getRes("Plan.Percent_Failure_Time"));
writePhaseTimePct(data, 1, PhaseType.Failure);
writeProductivity(chartData, data, 2);
return data;
}
use of net.sourceforge.processdash.data.util.ResultSet in project processdash by dtuma.
the class ProcessAnalysisPage method getTimeByPhase.
@//
Chart(//
id = "phaseTime", //
type = "area", //
titleKey = "Plan.Phase_Time_Title", //
smallFmt = "hideLegend=t", format = "colorScheme=consistent\nconsistentSkip=2\n" + "stacked=pct\nheaderComment=(${Hours})")
public ResultSet getTimeByPhase(ChartData chartData) {
List<String> phases = chartData.histData.getPhasesOfType();
ResultSet data = chartData.getEnactmentResultSet(phases.size());
writePhaseTime(data, false, 1, phases.toArray());
return data;
}
Aggregations