I have a combined chart. Bar chart and line chart. My line uses square shapes at the points on the graph. I would prefer if they were round and also if they were unfilled. I have tried manipulating the BasicStroke constructor but no combination seems to work.
BasicStroke s2 = new BasicStroke(s.getLineWidth(), BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND);
renderer2.setStroke(s2);
But it doesn't seem to work.
Does anyone know how to make it work?
Thanks
LineRenderer
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
If you are using the LineAndShapeRenderer, I'm currently looking at a bug where a lot of code is duplicated between the AbstractRenderer class and the AbstractSeriesRenderer class. This might be causing the problem. I need some time to work through it properly...
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

