change of the color of the bar(vertical bar chart)

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

change of the color of the bar(vertical bar chart)

Post by satish » Wed Jul 24, 2002 3:36 pm

hello david,

thanks for the instant reply.it was really very helpful.
unfortunately,u did not get me the answer for the second question.

i'm trying to change the color of the bar of the vertical bar chart.
is there any method to do that.
thanks in advance.

regards
satish

David Gilbert

Re: change of the color of the bar(vertical bar chart)

Post by David Gilbert » Thu Jul 25, 2002 3:21 pm

The bar colors are controlled using these methods in the Plot class:

public void setSeriesPaint(int index, Paint paint);

public void setSeriesPaint(Paint[] paint)

Regards,

DG.

Locked