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:
parent
14993b3ca1
commit
89c1562b60
1 changed files with 4 additions and 0 deletions
|
|
@ -302,6 +302,10 @@ public class Plotter {
|
||||||
final XYPlot plot = createPlot(problem, shipments, solution);
|
final XYPlot plot = createPlot(problem, shipments, solution);
|
||||||
JFreeChart chart = new JFreeChart(title, plot);
|
JFreeChart chart = new JFreeChart(title, plot);
|
||||||
|
|
||||||
|
plot.setBackgroundPaint(Color.WHITE);
|
||||||
|
plot.setDomainGridlinesVisible(false);
|
||||||
|
plot.setRangeGridlinesVisible(false);
|
||||||
|
|
||||||
LegendTitle legend = createLegend(routes, shipments, plot);
|
LegendTitle legend = createLegend(routes, shipments, plot);
|
||||||
chart.removeLegend();
|
chart.removeLegend();
|
||||||
chart.addLegend(legend);
|
chart.addLegend(legend);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue