Search found 7 matches

by BigDong
Fri May 31, 2013 5:02 pm
Forum: JFreeChart
Topic: determining legend height
Replies: 4
Views: 4954

Re: determining legend height

Hey alfonso I am also interested by your code

What's bfi in : (Graphics2D) bfi.getGraphics() ?

How did you cast/convert your JFreeChart img to a graphics2d ?
by BigDong
Fri May 31, 2013 4:26 pm
Forum: JFreeChart
Topic: Big Legend Hides Graph
Replies: 9
Views: 15692

Re: Big Legend Hides Graph

Actually I didn't wrote any code, I looked over my project to see where I could do the edit provided by Jim McGlaughlin.
It seems that his legend isn't generated by jfreechart.

Do you have any suggestion ?

(Unfortunatly, I am not allowed to past any code since I'm not the owner of this application)
by BigDong
Fri May 31, 2013 2:07 pm
Forum: JFreeChart
Topic: legend as separate image
Replies: 4
Views: 7801

Re: legend as separate image

I am also interested by a solution.
by BigDong
Fri May 31, 2013 1:58 pm
Forum: JFreeChart
Topic: Big Legend Hides Graph
Replies: 9
Views: 15692

Re: Big Legend Hides Graph

Hi, I am encoutroung the exact same probleme.
I've tried to implement with Jim McGlaughlin but failed, could you provide us a short sample of code as demo please ?
by BigDong
Wed Jul 25, 2012 2:47 pm
Forum: JFreeChart
Topic: [solved] custom foregroundAlpha for an XYStepAreaRenderer
Replies: 5
Views: 9466

Re: custom foregroundAlpha for an XYStepAreaRenderer

Hi again, thanks, it work.

I didn't use getItemPaint, I just had to change my colorList with Color(r,g,b,a) and it worked great.

Thanks for the idea ;)
by BigDong
Wed Jul 25, 2012 8:22 am
Forum: JFreeChart
Topic: [solved] custom foregroundAlpha for an XYStepAreaRenderer
Replies: 5
Views: 9466

Re: custom foregroundAlpha for an XYStepAreaRenderer

How would that help ?
getItemPaint wrote:Returns the paint used to fill data items as they are drawn.

Returns:
The paint (never null).
by BigDong
Tue Jul 24, 2012 4:54 pm
Forum: JFreeChart
Topic: [solved] custom foregroundAlpha for an XYStepAreaRenderer
Replies: 5
Views: 9466

[solved] custom foregroundAlpha for an XYStepAreaRenderer

Hi everyone, I am trying to render a nice chart, with 3 datasets. 2 of them are sensibly identique, it's not a stacked renderer, so i need to make it more readable. If I can find a way to customize the alphaforeground for each plot, It would really help. I have checked all the differents demos, and ...