to change the color of the plot line

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

to change the color of the plot line

Post by RaviTeja » Wed Jul 03, 2002 12:59 pm

hello david,


Can u give me an idea of how to change the color of the line(plot line) on the chart.In other words at present the plot line is red i'd like to to change it to some other color say blue or green.

i hope u'll get me the answer.
thank u in advance.



regards
Ravi teja

David Gilbert

Re: to change the color of the plot line

Post by David Gilbert » Thu Jul 04, 2002 6:33 am

It should be possible to change this using one of the setSeriesPaint methods in the Plot class.

Regards,

DG.

Locked