PIE chart border
-
- Posts: 6
- Joined: Wed Feb 14, 2007 8:49 am
PIE chart border
is there any way I can remove the border that encloses the pie chart only. In pie char we have two borders one that holds the entire chart along with the legend. the other only encloses the pie chart. I want to remove it, how I am going to do it?
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
You can call plot.setOutlinePaint(null) or plot.setOutlineStroke(null) and the border will be hidden. You'll probably want to change the plot's background paint to blend in with the chart's background also.
I've made a couple of small additions to the next version of the JFreeChart Developer Guide, and put in a couple more index entries, to make this information easier to find there.
I've made a couple of small additions to the next version of the JFreeChart Developer Guide, and put in a couple more index entries, to make this information easier to find there.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


-
- Posts: 6
- Joined: Wed Feb 14, 2007 8:49 am
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Sure, there are loads of methods to customise those settings:
http://www.jfree.org/jfreechart/api/jav ... ePlot.html
http://www.jfree.org/jfreechart/api/jav ... ePlot.html
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

