HI,
Can Anyone plese give me the suggestion to set the Bar Out line with thick black color.
I have the Bar with two different colors, but that bar is displaying only colors, but i need outline also
regards,
Sumant
How to set Bar outline?
-
- Posts: 23
- Joined: Mon Sep 18, 2006 10:08 am
- Location: Mumbai, India
- Contact:
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
The BarRenderer class has a method setDrawBarOutline(boolean). Make sure you have this flag set to true (which is the default, but maybe you've changed it).
Then you can control the stroke and paint used to draw the outline by calling:
- setSeriesOutlinePaint(int, Paint);
- setSeriesOutlineStroke(int, Stroke);
Then you can control the stroke and paint used to draw the outline by calling:
- setSeriesOutlinePaint(int, Paint);
- setSeriesOutlineStroke(int, Stroke);
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

