different color in same bar...

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
sak
Posts: 3
Joined: Mon Dec 03, 2007 7:07 am

different color in same bar...

Post by sak » Mon Dec 03, 2007 7:13 am

hey friends,
i want a bar with different colors..means in a single bar i need a different color.
i have a lower bound value as 0 and upper bound value as 40.between 1.6 to 32 i need differrent color and rest of the bar should be in some other color..could someone please help me..??

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Mon Dec 03, 2007 4:23 pm

You'll have to customise the BarRenderer class to achieve that.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

sak
Posts: 3
Joined: Mon Dec 03, 2007 7:07 am

Post by sak » Tue Dec 04, 2007 2:28 pm

could you plesae guide me how to customize it David..please..
thanks in advance

Javed123
Posts: 7
Joined: Tue Dec 11, 2007 12:14 pm
Location: India

Post by Javed123 » Wed Jan 02, 2008 8:20 am

@Sak

Thanks in advance
Did u get solution over ur problem..........
I have the same problem right now will please tell me u have any solution over that

Locked