Closing and opening charts

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

Closing and opening charts

Post by Gooseman » Fri Dec 06, 2002 9:36 pm

When I create a JFreeChart to display moving data in a new ChartFrame, everything works fine. But when I close the chart and reopen it, I get duplicate points everywhere. Is there a way around this without removing the data. Do I need a listener to check if the window is closed, and act on this?

Thanks for the help!

David Gilbert

Re: Closing and opening charts

Post by David Gilbert » Mon Dec 09, 2002 11:18 pm

That sounds bad. Can you send me some sample code that I can use to reproduce the problem?

Regards,

DG

Locked