previousBuild = previousBuild.getPreviousBuild();
}
// Now we should have the data necessary to generate the graphs!
DataSetBuilder<String, NumberOnlyBuildLabel> dataSetBuilderAverage = new DataSetBuilder<String, NumberOnlyBuildLabel>();
for (AbstractBuild<?, ?> currentBuild : buildReports.keySet()) {
NumberOnlyBuildLabel label = new NumberOnlyBuildLabel(currentBuild);
PerformanceReport report = buildReports.get(currentBuild).get(parameter);
dataSetBuilderAverage.add(report.getAverage(),
Messages.ProjectAction_Average(), label);
}
ChartUtil.generateGraph(request, response, PerformanceProjectAction