XYAreaChart with multiple colors

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Matthieu de Graaf
Posts: 2
Joined: Tue Mar 01, 2005 1:32 pm

XYAreaChart with multiple colors

Post by Matthieu de Graaf » Tue Mar 01, 2005 1:58 pm

Hi,

I'd like to make an XY Area Chart with multiple colors. The part of the chart with a value above a certain value (for instance 100%) should be a different color than the rest of the chart.

Anyone any ideas?

Matthieu

cirocco
Posts: 4
Joined: Thu Feb 26, 2009 10:14 am

Re: XYAreaChart with multiple colors

Post by cirocco » Thu Feb 26, 2009 12:13 pm

Hi.
I have the same problem with XY Area Chart. I have read some topics about line coloring http://www.jfree.org/phpBB2/viewtopic.php?t=19958. But reimplementing getItemPaint does not change a line (or area) color between points.
Is there something new, in newer JFreeChart versions which can help with it now?
Thanks

Locked