Code: Select all
chart.Export.Template.IncludeData = false;
One more problem with template saving:
Code: Select all
chart.Export.Template.Save("tmpl.ten");
I use TeeChartNET2009VSNET2005 (v. 0.4455.0.0). TeeChart.dll's version is 4.0.2009.21354
Code: Select all
chart.Export.Template.IncludeData = false;
Code: Select all
chart.Export.Template.Save("tmpl.ten");
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Code: Select all
private void SaveScreen(string ScreenName)
{
foreach (TChart chart in ChartsPanel.Controls)
{
try
{
chart.Export.Template.IncludeData = false;
chart.Export.Template.Save(chart.Text + ".ten");
}
catch (Exception) { MessageBox.Show("Can't export template '" + chart.Text + "'. Try again"); }
}
}
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |