Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 521

Summary: Regression: Selector Tool throwing error on serialization
Product: .NET TeeChart Reporter: christopher ireland <chris>
Component: ExportingAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: TeeChart for .NET 4.1.2013.11080   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description christopher ireland 2013-12-17 11:18:23 EST
This code reproduces the error:

    private void InitializeChart()
    {
      tChart1.Aspect.View3D = false;
      Bar series = new Bar(tChart1.Chart);
      series.FillSampleValues();

      Selector tool = new Selector(tChart1.Chart);  
    }

    TChart tChart2;

    private void button1_Click(object sender, EventArgs e)
    {
      if(tChart2 == null) tChart2 = new TChart();

      MemoryStream ms = new MemoryStream();
      tChart1.Export.Template.Save(ms);
      ms.Position = 0;
      tChart2.Import.Template.Load(ms);

      MessageBox.Show("DONE");
    }