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 - Regression: Selector Tool throwing error on serialization
Summary: Regression: Selector Tool throwing error on serialization
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Exporting (show other bugs)
Version: TeeChart for .NET 4.1.2013.11080
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-17 11:18 EST by christopher ireland
Modified: 2013-12-17 11:18 EST (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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");
    }