Page 1 of 1

Import graphs exported by TeeChart.dll into a WPF form

Posted: Tue Jan 10, 2012 4:19 pm
by 15659884
Hello,

We are exporting graphs from a winform using TeeChart.dll (version 4.1.2010.9281). Is there a way that I can import these graphs into a WPF form using TeeChart.WPF.dll (Version 4.1.2011.4193)? I get an exception where the application can't find TeeChart.dll. Alternatively, can I display WPF tcharts in a winform and hence export the graphs as wpf tcharts?

I also notice that the command tChart1.Import.Template.LoadFileDialog(), where tChart1 is of type Steema.TeeChart.WPF.TChart, does not open a file dialog. i tried the ShowImportDialog() too, but it seems to do nothing.

Please advise.

Thanks,
Spcom

Re: Import graphs exported by TeeChart.dll into a WPF form

Posted: Wed Jan 11, 2012 12:15 pm
by 10050769
Hello Spcom,

I am afraid that is not possible export .*ten files made in Winforms to WPF or in WPF to Winforms, so the assemblies are different. In this case, you have an option is try to work using WinForms In WPF as explain in this link: http://www.switchonthecode.com/tutorial ... rms-in-wpf. On the other hand, can you explain us exactly, what do you want import(all chart, data, etc),because we try to suggest you other option to import data in WPF projects?
I also notice that the command tChart1.Import.Template.LoadFileDialog(), where tChart1 is of type Steema.TeeChart.WPF.TChart, does not open a file dialog. i tried the ShowImportDialog() too, but it seems to do nothing.
I am afraid that TeeChart.WPF doesn't support show dialog and for this reason you can not see the LoadFileDialor() and ShowImportDialog().

Thanks,