Hi,
Are the Charts of infragistics Serializable. In our application the objects which we used should be serializable as the session is maintained in sql server. So we need to know whether the Infragistics charts are serializable.
Thanks and Regards,
kiran
The chart can be serialized and desterilized using the SavePreset and LoadPreset methods.
What about custom Charts like the maps sample at http://samples.infragistics.com/2010.2/WebFeatureBrowser/Default.aspx ? they do not seem to work with Save and Load Preset....
I am not sure if I should open a new thread for this or not, but is it posible to serialize custom renderings in some other way?
Thanks
Unfortunately, no. Anything rendered by means of adding custom shapes to the chart's SceneGraph cannot be serialized. This is analogous to using GDI+ methods to draw shapes onto a bitmap.
Making some other tests neither does it seem to serialize color custom palettes...
That's really unfortunate as it makes the ultraChart lose lots of its flexibilitiy that made it powerfull if you need to serialize controls with customizations...
Is there any chance that you add this feature in the near future? or some way that we could code it ourselves without coding a whole new control?.
You can request this feature here:http://devcenter.infragistics.com/Protected/RequestFeature.aspx
You can try storing your custom rendering code and attaching it on deserialization via reflection.Although, I'm not certain that this can be a viable workaround.
I have already requested the feature, I'll give it a try to your suggestion as soon as I have the time.