removing a subplot from an OverlaidPlot

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

removing a subplot from an OverlaidPlot

Post by Diego Garber » Wed Jan 29, 2003 7:12 pm

Hi,
I needed to remove subplots from both combined and overlaid plots, the combined one I could make it by extending the class and basically removing the subplot from the subplots list.
I tried the same for the overlaid one, but it doesn't seem to work, it does not remove the subplot. Can anybody help me with this?
Thanks,

Diego.

Diego Garber

Re: removing a subplot from an OverlaidPlot

Post by Diego Garber » Wed Jan 29, 2003 8:18 pm

Nevermind, I solved it!. But I still have the same problem Dave, I can't find another way of extending your classes if I dont copy them almost entirely into mines. That's what I told you before about maybe using 'protected' instead of 'private' for your inner lists.
Regards,

Diego.

Locked