yAxis.setNumberFormatOverride(new MillisecondsSpendNumberFormat());
XYPlot plot = new XYPlot(null, xAxis, yAxis, null);
int seriesIndex = 0;
for (SolverBenchmark solverBenchmark : solverBenchmarkList) {
XYSeries series = new XYSeries(solverBenchmark.getName());
ScoreDefinition scoreDefinition = solverBenchmark.getSolverConfig().getScoreDefinitionConfig()
.buildScoreDefinition();
for (SolverBenchmarkResult result : solverBenchmark.getSolverBenchmarkResultList()) {
Long timeMillisSpend = result.getTimeMillisSpend();
Score score = result.getScore();
Double scoreGraphValue = scoreDefinition.translateScoreToGraphValue(score);
if (scoreGraphValue != null) {
series.add(scoreGraphValue, timeMillisSpend);
}
}
XYSeriesCollection seriesCollection = new XYSeriesCollection();