Search found 3 matches

by roonghu
Thu Mar 04, 2010 9:50 pm
Forum: JFreeChart
Topic: Need a "chart.getLegend().setFramePaint( Paint )" !!!
Replies: 2
Views: 3460

Re: Need a "chart.getLegend().setFramePaint( Paint )" !!!

BTW, I just do not understand why all the BlockBorder and BlockFrame class are not providing any "setPaint( Paint )" methods.
Is it difficult to do so?
by roonghu
Thu Mar 04, 2010 9:47 pm
Forum: JFreeChart
Topic: Need a "chart.getLegend().setFramePaint( Paint )" !!!
Replies: 2
Views: 3460

Need a "chart.getLegend().setFramePaint( Paint )" !!!

I am trying to use JFreeChart and generate a legend frame/box colored outline. Since the following usage has deprecated, chart.getLegend().setOutlinePaint(new Color(255,0,0)); I tried to use plot.getRenderer().setBaseOutlinePaint(Color.red); However, nothing changed. Can anyone tell me how to do tha...
by roonghu
Thu Mar 04, 2010 9:44 pm
Forum: JFreeChart - Stockmarket
Topic: New Approach to show LegendTitle
Replies: 6
Views: 28458

Re: New Approach to show LegendTitle

I am trying to use JFreeChart and generate a legend frame/box colored outline. Since the following usage has deprecated, chart.getLegend().setOutlinePaint(new Color(255,0,0)); I tried to use plot.getRenderer().setBaseOutlinePaint(Color.red); However, nothing changed. Can anyone tell me how to do tha...