Articles in this section
Category / Section

How to save the chart template without getting a popup in WF Chart

1 min read

This article explains how to avoid the following pop-up window while showing up for saving the chart template at load time.

 

Chart template store option popup

 

 

If your requirement is to save the chart template (series properties and the point properties, which was saved in XML file) without getting that pop-up then, please refer the following code sample instead of saving like this.

 

[C#]

 

..
var template = new ChartTemplate(typeof(ChartControl));
template.Scan(this.chartControl1);
template.Save("TemplateName.xml");
..

 

Chart Template saving location is bin->debug->FileName.xml.

 

output window

View the sample in GitHub.

 

See also

 

How to bind the data source via chart wizard

How to create a real-time chart

How do I print a Chart

How to create Chart in VB .NET Windows Forms

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied