Page 1 of 1

Error on TeeChart Export

Posted: Tue Jul 07, 2015 6:30 am
by 16071129
While exporting TeeChart to Native Format we are getting following error:
Export Serial.png
Export Serial.png (65.73 KiB) Viewed 8044 times

Re: Error on TeeChart Export

Posted: Tue Jul 07, 2015 7:17 am
by narcis
Hello Quant,

Can you please prepare a simple example project with which we can reproduce your issue here? We need to see which chart settings may be causing the exception.

Thanks in advance.

Re: Error on TeeChart Export

Posted: Tue Jul 07, 2015 8:30 am
by 16071129
This error comes when teechart contains Selector Tool.

Please find simple example project.
TeechartExportImport.zip
(29.32 KiB) Downloaded 786 times

Re: Error on TeeChart Export

Posted: Tue Jul 07, 2015 2:00 pm
by Christopher
Quant wrote:Please find simple example project.
Thank you, that was very useful.

This defect is registered as id=1219 and has now been fixed. In the meantime, you can use a substitute derived class with the fix in it:

Code: Select all

  public class MySelector : Selector
  {
    public MySelector(Chart c) : base(c) { }

    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public new ChartClickedPart Part { get; set; }
  }