Hallo Sandra,
it was a good hint with the Unicode chars.
Thanks,
Uli
Line series legend symbol problem
Re: Line series legend symbol problem
Hello Uli,
I inform you that this bug(TF02014913) is not a bug, because TeeChart does not serialize or deserialize the Control.Tag property as it is not a TeeChart property.
On the other hand, you can serialize and deserialize the TeeBase.Tag property without a problem, please check next code for reproduce it:
Thanks,
I inform you that this bug(TF02014913) is not a bug, because TeeChart does not serialize or deserialize the Control.Tag property as it is not a TeeChart property.
On the other hand, you can serialize and deserialize the TeeBase.Tag property without a problem, please check next code for reproduce it:
Code: Select all
private void InitializeChart()
{
Steema.TeeChart.Styles.Bar bar = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
bar.FillSampleValues();
}
private void button1_Click(object sender, EventArgs e)
{
tChart1.Chart.Tag = "Test";
tChart1.Legend.Tag = "Test2";
tChart1.Export.Template.IncludeData = true;
tChart1.Export.Template.Save(@"test.ten");//saveFileDialog1.FileName);
tChart1.Chart.Tag = "";
tChart1.Legend.Tag = "";
}
private void button2_Click(object sender, EventArgs e)
{
tChart2.Import.Template.Load(@"test.ten");
MessageBox.Show(tChart2.Chart.Tag.ToString());
MessageBox.Show(tChart2.Legend.Tag.ToString());
}
Best Regards,
Sandra Pazos / 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 |
Re: Line series legend symbol problem
Hi Sandra,
OK, this code works. But TChart.Tag is displayed in the property editor and I cannot understand that it will not be serialized. That is confusing.
Best regards
Uli
OK, this code works. But TChart.Tag is displayed in the property editor and I cannot understand that it will not be serialized. That is confusing.
Best regards
Uli