specify color for a line segment

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Artemis

specify color for a line segment

Post by Artemis » Thu Sep 19, 2002 12:24 pm

Hi,

Can I specify a different color for a segment of line in the time series chart ?
I just want to know if there's possibility for me to do so.

Thanks,
Artemis

David Gilbert

Re: specify color for a line segment

Post by David Gilbert » Fri Sep 20, 2002 11:18 am

No, it just uses the series color. You could write your own renderer class though, and draw lines in any color you want...

Regards,

DG.

Samiul

Re: specify color for a line segment

Post by Samiul » Sat Sep 21, 2002 9:06 am

Yes, its very much possible. Please see the following:
http://www.object-refinery.com/phorum-3 ... 489&t=4489

Artemis

Re: specify color for a line segment

Post by Artemis » Sat Sep 21, 2002 3:33 pm

Much thanks to Samiul and David
:)

Locked