Skip to content

Commit

Permalink
Set solid lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfree committed Nov 5, 2017
1 parent a23109f commit 3d95321
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ private static JFreeChart createChart(XYDataset dataset) {
renderer.setDrawSeriesLineAsPath(true);
// set the default stroke for all series
renderer.setAutoPopulateSeriesStroke(false);
renderer.setDefaultStroke(new BasicStroke(3.0f, BasicStroke.CAP_ROUND,
BasicStroke.JOIN_BEVEL, 0f, new float[] { 4f, 4f}, 0f), false);
renderer.setDefaultStroke(new BasicStroke(3.0f));
renderer.setSeriesPaint(0, Color.RED);
renderer.setSeriesPaint(1, new Color(24, 123, 58));
renderer.setSeriesPaint(2, new Color(149, 201, 136));
Expand Down

0 comments on commit 3d95321

Please sign in to comment.