How do i change the colors that appear in the pie3d chart?
I've searched here but but the post that i found seens to be outdated.
This is a little snippet of how to do it. There may be more examples on the JFreeChart site www.Jfree.Org. JFreeChart was used with CEWOLF for chart development. CEWOLF provides the tags, JFreeChart provides the chart part.
PiePlot plot = (PiePlot) chart.getPlot(); plot.setSectionPaint(0,new Color(200,255,255)); plot.setSectionPaint(1,new Color(200,200,255));
Oh!
Thanks a lot.
Log in to post a comment.
How do i change the colors that appear in the pie3d chart?
I've searched here but but the post that i found seens to be outdated.
This is a little snippet of how to do it. There may be more examples on the JFreeChart site www.Jfree.Org. JFreeChart was used with CEWOLF for chart development. CEWOLF provides the tags, JFreeChart provides the chart part.
PiePlot plot = (PiePlot) chart.getPlot();
plot.setSectionPaint(0,new Color(200,255,255));
plot.setSectionPaint(1,new Color(200,200,255));
Oh!
Thanks a lot.