chart.setUnscaledValues(value);
return chart;
}
public PieChartUrl createDistributionChart(List<Integer> costs) {
PieChartUrl chart = new PieChartUrl();
chart.setItemLabel("Excellent", "Good", "Needs Work");
chart.setColors(GREEN, YELLOW, RED);
int excellentCount = getExcellentCount(costs);
int goodCount = getGoodCount(costs);
int needsWorkCount = getNeedsWorkCount(costs);
chart.setValues(excellentCount, goodCount, needsWorkCount);
return chart;
}