I am making a BarChart
with JFreeChart
in java. The default code makes a chart with dashed grid lines. As far as I can see, here is the only part of the code that deals with the gridlines.
final CategoryPlot plot = chart1.getCategoryPlot();
plot.setBackgroundPaint(Color.white);
plot.setDomainGridlinePaint(Color.black);
plot.setRangeGridlinePaint(Color.black);
How would I edit this/add code to this so the grid lines are a solid color? Thanks.