jfreechart differente series color

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
hcardoso
Posts: 6
Joined: Wed Nov 13, 2013 5:00 pm
antibot: No, of course not.

jfreechart differente series color

Post by hcardoso » Thu Nov 14, 2013 5:17 pm

I have XYAreaChart and a

Code: Select all

dataset = new XYSeriesCollection();
This dataset is populated with several

Code: Select all

XYSeries
and i want each one of these series to have a different color. The series can overlapse each other.

Does anyone have any idea how to do this?

I tried a number of things and it keeps painting everything with the same color.

Regards

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Re: jfreechart differente series color

Post by paradoxoff » Thu Nov 14, 2013 10:53 pm

Is that still the same problem that you have described here?
If yes, see my comment in that thread.

Locked