Change color in a timeseries

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
lgarcia3
Posts: 43
Joined: Thu Jul 21, 2005 4:00 pm

Change color in a timeseries

Post by lgarcia3 » Mon Nov 19, 2007 10:53 pm

I am plotting a time series line and would like to change its color depending on the value that I am plotting. For instance, if my values are negative I'd like it to be red, otherwise blue. How can I do that? With the renderer?
Thanks!

Locked