1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

make plot background white (grey conflicted with grey series)

This commit is contained in:
Michal Maciejewski 2019-04-03 19:36:35 +02:00
parent 14993b3ca1
commit 89c1562b60
No known key found for this signature in database
GPG key ID: 015947E60A2AD77B

View file

@ -302,6 +302,10 @@ public class Plotter {
final XYPlot plot = createPlot(problem, shipments, solution);
JFreeChart chart = new JFreeChart(title, plot);
plot.setBackgroundPaint(Color.WHITE);
plot.setDomainGridlinesVisible(false);
plot.setRangeGridlinesVisible(false);
LegendTitle legend = createLegend(routes, shipments, plot);
chart.removeLegend();
chart.addLegend(legend);