Bar Chart Colour Modification

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
rm_colonel
Posts: 1
Joined: Wed Sep 05, 2007 11:43 am

Bar Chart Colour Modification

Post by rm_colonel » Wed Sep 05, 2007 11:47 am

Hey,

I am new to JFreeChart. Currently I have my graph displaying columns only in red but I want to specify colours for specific ranges. E.g. >100 a red column, <50 & >25 orange and <25 green. Any experts help?

Cheers.

RichardWest
Posts: 844
Joined: Fri Oct 13, 2006 9:29 pm
Location: Sunnyvale, CA

Re: Bar Chart Colour Modification

Post by RichardWest » Wed Sep 05, 2007 5:12 pm

rm_colonel wrote:I am new to JFreeChart. Currently I have my graph displaying columns only in red but I want to specify colours for specific ranges. E.g. >100 a red column, <50 & >25 orange and <25 green. Any experts help?
I guess you did not attempt to search the forum. If you search for 'BarRenderer' and further restrict the search to 'RichardWest' as the author (I seem to be the one answering this question repeatedly), you will find 15 matches. Not all of them are related to this question, but a good majority are. Hope that helps.
Richard West
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA

meehaw
Posts: 10
Joined: Wed Aug 08, 2007 9:16 am

Post by meehaw » Thu Sep 06, 2007 9:27 am

Just search a forum (use search button),
I've found a solution when I needed it.

Locked