// partition the max amount of method on 1 graph (in this case max # = MAX_METHODS_PER_GRAPH)
List<List<Duration>> partitionList = CommonUtils.partitionList(durationBeans, MAX_METHODS_PER_GRAPH);
for (List<Duration> partList : partitionList) {
BufferedImage methodDurationImage = getMethodDurationImage(className, partList);
ImageBean imageBean = new ImageBean(methodDurationImage, "", "");
MethodDurationReportBean methodDurationBean = new MethodDurationReportBean();
methodDurationBean.setImageBean(imageBean);
methodDurationBean.setDurations(partList);
methodDurationReportBeans.add(methodDurationBean);
}