Line Chart - Displaying more than 9 series

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

Line Chart - Displaying more than 9 series

Post by Scott Murphy » Sun Feb 24, 2002 11:48 am

Hello,

I am trying to display a line chart with a Series of 40. In the legend it shows 40, but in the chart it only displays 9. How can I display more than just 9 items in the chart?

Thanks,

Scott

Reji Mani

Re: Line Chart - Displaying more than 9 series

Post by Reji Mani » Mon Feb 25, 2002 3:12 am

Hi,

You can display any number of series using JFreeChart. I think your problem is with the series colours. By default JFreeChart uses 9 colours and from 10th series onwards it cycles the colour order, so u feel there is only 9 series. Better make a Paint[] with your colour choice and set to the series.

regards,

reji

David Gilbert

Re: Line Chart - Displaying more than 9 series

Post by David Gilbert » Mon Feb 25, 2002 4:24 pm

Hi Scott,

Is the problem as Reji suggested? If not, e-mail me a picture of the chart showing what the problem is...

Regards,

Dave Gilbert

Locked