TimeSeriesChart color

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
vigneshb
Posts: 3
Joined: Mon Aug 31, 2009 2:25 pm
antibot: No, of course not.
Location: Halifax, Canada
Contact:

TimeSeriesChart color

Post by vigneshb » Mon Aug 31, 2009 2:31 pm

Hello all,

I'm trying to create 8 TimeSeriesChart having same kind of TimeSeriesCollection. Each collection has 4 data and there are 8 sereiscollection. Now when I add it to TimeSeriesChart the color of the plot for each data differs for each seriescollection. Is there anyway I can specify color for each data and have it for 8 different series collection, so that all the colors are same?


ediT: Well I figured out to use renderer but still have the legend problem with black outs. Hope the .14 version is released soon to get the bug fix.

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: TimeSeriesChart color

Post by david.gilbert » Mon Aug 31, 2009 6:21 pm

Which renderer is giving you the problem with the legend? If I recall correctly, the SamplingXYLineRenderer has this problem, but not any other renderer. The fix is in Subversion already.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked