TChart in WPF

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
oxygen
Newbie
Newbie
Posts: 2
Joined: Tue Mar 15, 2011 12:00 am

TChart in WPF

Post by oxygen » Mon Mar 21, 2011 8:27 pm

I've just started using Tcharts in a WPF application. Having added a TChart to the main window, I'm getting the following error when I build the application:

The tag 'TChart' does not exist in XML namespace 'clr-namespace:Steema.TeeChart.WPF;assembly=TeeChart.WPF'.Line 20 Position 10

A reference to TeeChart.WPF exists in the project. I could use some help in figuring out what's missing in my approach and what else I need to be doing.

Also, I've run the TeeChart for .NET native WPF Control by starting the WPF Demo application distributed with the product. When I click on the Serialized Chart tab page, the application produces the error message "WPFDemo2 has stopped working". I'm running windows 7 32 bit. I'm trying to determine what might be going on here and whether the native WPF control is sufficiently stable for use in a commercial application.

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

Re: TChart in WPF

Post by Sandra » Tue Mar 22, 2011 4:04 pm

Hello oxygen,
The tag 'TChart' does not exist in XML namespace 'clr-namespace:Steema.TeeChart.WPF;assembly=TeeChart.WPF'.Line 20 Position 10
A reference to TeeChart.WPF exists in the project. I could use some help in figuring out what's missing in my approach and what else I need to be doing.
Using next xml code I don't have any problems:

Code: Select all

<Window x:Class="WpfApplication1.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="300" Width="300"
    xmlns:my="clr-namespace:Steema.TeeChart.WPF;assembly=TeeChart.WPF">
    <Grid>
        <my:TChart Margin="0,0,0,0" Name="tChart1" />
    </Grid>
</Window>
If previous code doesn't solve your problem, Could you please send, us your project so we can reproduce exactly your problem here?
Also, I've run the TeeChart for .NET native WPF Control by starting the WPF Demo application distributed with the product. When I click on the Serialized Chart tab page, the application produces the error message "WPFDemo2 has stopped working". I'm running windows 7 32 bit. I'm trying to determine what might be going on here and whether the native WPF control is sufficiently stable for use in a commercial application.
You are right. I couldn't reproduce your problem and I have added it as bug with number [TW16015458]. We will try to fix it for next maintenance releases of TeeChart.Net.

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

oxygen
Newbie
Newbie
Posts: 2
Joined: Tue Mar 15, 2011 12:00 am

Re: TChart in WPF

Post by oxygen » Tue Mar 22, 2011 4:59 pm

Using the same xaml code that you've provided I get the same error I described previously. Could you please let me know as soon as possible how I can get around this?

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

Re: TChart in WPF

Post by Sandra » Wed Mar 23, 2011 10:26 am

Hello oxygen,
Using the same xaml code that you've provided I get the same error I described previously. Could you please let me know as soon as possible how I can get around this?
Could you send us your project, because we can reproduce your problem exactly here and try to find a solution for this?

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

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TChart in WPF

Post by Yeray » Wed Mar 23, 2011 4:24 pm

Hello oxygen,

As we told you by mail, it seems the problem with your application could be that it is using the .Net Framework 4 Client Profile but the TeeChart.dll. Change the dll or the .NET framework to match them (TeeChart.Client.dll and .Net Framework 4 Client Profile or TeeChart.dll and .Net Framework 4).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

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

Re: TChart in WPF

Post by Sandra » Tue Apr 19, 2011 1:20 pm

Hello oxygen,

I inform that the bug with number (TW16015458) is fixed in a new available version of TeeChart.Net that you can find in Customer download page

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