Changing legend box colors for combined & overlaid xyplo

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

Changing legend box colors for combined & overlaid xyplo

Post by kumar » Fri Aug 16, 2002 6:04 pm

Hi,

I have created a combined xy plot of two overlaid xy plots. Each overlaid xy plot has two simple xy plots. And, for all the xy plots, I have set my own series colors. Now , When I create the JFreeChart for this combined xy plot with legend, The chart is drawn properly ( i.e,, with my own set of series colors). But the legend box's(the small box adjacent to legend label) are filled with default series colors. Do I have to set anything anywhere??

Thanks,
kumar

David Gilbert

Re: Changing legend box colors for combined & overlaid x

Post by David Gilbert » Mon Aug 19, 2002 9:51 am

Hi Kumar,

I haven't got this part of the code working so well yet. Can you send me a sample program and I'll take a look...

Regards,

DG.

Locked