partial background color

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

partial background color

Post by Alan » Tue Oct 15, 2002 10:00 pm

Hello,

I think this might be a bit pushing it, but I am looking for a way to shade only a part of the background. For example, half the background will be white, and then the other half will be yellow. This will easily convey the message of time on the x-axis. Of course, this is in one chart. I am at a lost on how to proceed. Combine two charts? Extend a new renderer?
Any ideas will be much appreciated.

thanks,
Alan

Dave Gilbert

Re: partial background color

Post by Dave Gilbert » Thu Oct 17, 2002 5:42 pm

I think this was/is the purpose of the PeriodMarkerPlot class (for overlaid charts). If I had the time, I would convert this to a renderer...

Regards,

DG.

Alan

Re: partial background color

Post by Alan » Thu Oct 17, 2002 8:16 pm

Thank you for the info. I will try it out.

Locked