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 586

Summary: an error with importing CircularGauge as template
Product: .NET TeeChart Reporter: Shinobu Nagai <nagai>
Component: ExportingAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: chris, sandra
Priority: ---    
Version: TeeChart.NET 2014 4.1.2014.02060   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description Shinobu Nagai 2014-02-20 00:43:40 EST
If I export a CircularGauge as a template and import it, a TargetInvocationException occurs in VS2008.

With VS2010, the error doesn't occur, but the CircularGauge isn't displayed when importing tee file.
Comment 1 sandra pazos 2014-02-20 05:06:55 EST
The below code can help to reproduce the problem: 

        public Form1()
        {
            InitializeComponent();
            InitializeChart(); 
        }
        private void InitializeChart()
        {
           var ciculargauge = new Steema.TeeChart.Styles.CircularGauge(tChart1.Chart); 
            tChart1.Export.Template.Save(@"circulargauge.tee");
        }
        private void button1_Click(object sender, EventArgs e)
        {
           tChart1.Series.Clear();
           tChart1.Import.Template.Load(@"circulargauge.tee"); 
        }
Comment 2 christopher ireland 2014-02-20 05:31:14 EST
This problem is not reproducible with the tip revision of our version control software, although I was able to reproduce it with the latest binary releases. I assume that changes I have made to CircularGauge have resolved the issue.
Comment 3 christopher ireland 2014-02-24 07:03:43 EST

*** This bug has been marked as a duplicate of bug 575 ***