I have some charts and I would like to enable the user to save to disk its entire configuration using serialization. After, using deserialization the user should be able to restore the entire chart and its last status. I tried to use .Net serialization but I receive an error message that says some libs in QCChart2D has no serialize attribute. Am I missing something here? If I really can not serialize to disk, is there a workaround to implement this feature? Thanks.
Sorry, but our charts do not support serialization. Our ChartView class is a subclass of the .Net System.Windows.Forms.UserControl class, and since that class doesn't support .Net serialization, neither can ours.
If you want your users to save and restore the state of graphs that they define, you will need to design some sort of configuration file (XML would be the best choice) that itemizes the options that you permit the user to modify. You would have to write the software that saves and restores the configuration file, and rebuilds the graph. We don't have any special routines that would aid you in this however.