> I am using one Fl_Chart to show several graphs. I have a > button for each > graph. When the button is selected, it calls clear() on the > Fl_Chart before > populating it with the data. > > The problem I am seeing is that the Fl_Chart does not reset/clear its > bounds. I have the Fl_Chart determine the bounds automagically using > autosize(true). > > Should Fl_Chart::clear() not only clear the values but also > the automatic > bounds as well? If this is a bug, then I'm willing to write a > patch and > submit it as a bug report.
I don't know, but it sure sounds like a bug. Probably best to file an STR in any case. Does toggling autosize off/on help, maybe? (Just a thought, as a workaround...) SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

