Changing background color (or individual Bar color) in Bar c

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

Changing background color (or individual Bar color) in Bar c

Post by Amit Mehta » Tue Feb 18, 2003 6:26 pm

I have a chart that displays some numbers against the date.
I want to change background color (or individual Bar color) so that weekends are distinctly shown.
The date range varies.

Any help would be highly appreciated

Thanks

Klaus Rheinwald

Re: Changing background color (or individual Bar color) in B

Post by Klaus Rheinwald » Tue Feb 18, 2003 7:22 pm

From the top of my head: try setCategoriesPaint/setSeriesPaint({blue,blue,blue,blue,blue,red,red});

HTH,
Klaus

Locked