Chart Persistence

Hi :

Is there any way to persist the chart accross
close/open of applications.

Thanks
Surya

4 Replies

AD Administrator Syncfusion Team February 14, 2007 06:57 AM UTC

Hi Surya,

Thank You for your interest in Syncfusion Products.

Could you please provide us with some more information regarding your requirement, so that it would help us in meeting your requirement exactly?

Thanks,
Ramya.


SU Surya February 15, 2007 02:49 PM UTC

Ramya :

We use syncfusion charts in our application.
Consider that a user create a chart in run-time
and displays it on the screen. When he exists the application, I want to store all the custom
formatting that he has done for the chart say,
chart series type, foreground and background colors,tick size,legend colors etc.In short, everything that can be saved about the chart display.Is there any such provison available in syncfusion charts or do I have implement that by myself ?

Thanks
Surya




AD Administrator Syncfusion Team February 20, 2007 07:40 PM UTC

Hi Surya,

My apologies for the delay in responding to you.

You can load and save the Chart with its custom settings by using the template.Load() and template.Save() methods.The Chart should be saved in xml format.

But using these methods only certain settings of the chart can be saved and loaded back.Some of the properties that get saved are SeriesType,LegendPosition etc.

I have attached a xml file which shows the properties supported while saving and loading back the chart.

Also kindly take a look at the attached sample and let me know whether this helps you.

Thanks & Regards,
Ramya.

LoadAndSaveTemplate.zip


SU Surya February 20, 2007 10:40 PM UTC

Excellent !

Thanks
Surya

Loader.
Up arrow icon