We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Saving/Loading Series Style

Thread ID:

Created:

Updated:

Platform:

Replies:

58136 Mar 19,2007 07:29 PM UTC Mar 22,2007 02:43 AM UTC WinForms 2
loading
Tags: Chart
Administrator [Syncfusion]
Asked On March 19, 2007 07:29 PM UTC

Hi,
V4.4.0.51 & VS2003
I have been trying to save customized series style to XML file. I found this method:
this.chartControl1.Model.Series[iSeriesIndex].Style.WriteXml();

I want to you to confirm if it is possible to use following code to customize and save series style to a xml file?

int iSeriesIndex=0;
this.chartControl1.DisplayUserEditStylesDialog(iSeriesIndex); // modal dialog window
//saving the series style to xml file
System.Xml.XmlWriter xmlWriter=new System.Xml.XmlWriter();
this.chartControl1.Model.Series[iSeriesIndex].Style.WriteXml(xmlWriter);
....


Lan

Administrator [Syncfusion]
Replied On March 20, 2007 01:55 PM UTC

Hi,
V4.4.0.51 & VS2003

I've built a sample for my question. I was thinking to save customized chart style by:
1. Save chart template(which has chart and legend style) to a xml file.
2 Save chart series style to a xml file.

then next time drawing the chart, load the chart template and series style from previous saved xml.

Button 'Save Tamplate' and 'Load Tamplate' work OK.

Button 'Save Customized Chart Style" saves series style to xml file.
Button 'Load Previous Saved Customized Chart Style" load xml file to series style.
But they are not working properly.

Could you look my code to make them work properly?
Thanks,

Lan




LineChart60.zip

Administrator [Syncfusion]
Replied On March 22, 2007 02:43 AM UTC

Hi Lan,

Could you please create a Direct Trac incident so that we can discuss more about this issue? Please give the following forum id as Direct Trac incident title.

Forum ID #58136 - Saving/Loading Series Style

Thank you for using Syncfusion products.

Regards,
Rajesh

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;