dataset.addValue(timeMillisSpend, solverLabel, result.getUnsolvedSolutionFile().getName());
}
}
CategoryAxis xAxis = new CategoryAxis("Data");
NumberAxis yAxis = new NumberAxis("Time millis spend");
yAxis.setNumberFormatOverride(new MillisecondsSpendNumberFormat());
BarRenderer renderer = new BarRenderer();
ItemLabelPosition positiveItemLabelPosition = new ItemLabelPosition(
ItemLabelAnchor.OUTSIDE12, TextAnchor.BOTTOM_CENTER);
renderer.setBasePositiveItemLabelPosition(positiveItemLabelPosition);
ItemLabelPosition negativeItemLabelPosition = new ItemLabelPosition(
ItemLabelAnchor.OUTSIDE6, TextAnchor.TOP_CENTER);
renderer.setBaseNegativeItemLabelPosition(negativeItemLabelPosition);
renderer.setBaseItemLabelGenerator(new StandardCategoryItemLabelGenerator(
StandardCategoryItemLabelGenerator.DEFAULT_LABEL_FORMAT_STRING, new MillisecondsSpendNumberFormat()));
renderer.setBaseItemLabelsVisible(true);
CategoryPlot plot = new CategoryPlot(dataset, xAxis, yAxis,
renderer);
plot.setOrientation(PlotOrientation.VERTICAL);
JFreeChart chart = new JFreeChart("Time spend summary (lower time is better)", JFreeChart.DEFAULT_TITLE_FONT,