Import graphs exported by TeeChart.dll into a WPF form

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Spcom
Newbie
Newbie
Posts: 1
Joined: Tue Jul 26, 2011 12:00 am

Import graphs exported by TeeChart.dll into a WPF form

Post by Spcom » Tue Jan 10, 2012 4:19 pm

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

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

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

Post by Sandra » Wed Jan 11, 2012 12:15 pm

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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply