Page 1 of 1

TChart in WPF

Posted: Mon Mar 21, 2011 8:27 pm
by 16058765
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.

Re: TChart in WPF

Posted: Tue Mar 22, 2011 4:04 pm
by 10050769
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,

Re: TChart in WPF

Posted: Tue Mar 22, 2011 4:59 pm
by 16058765
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?

Re: TChart in WPF

Posted: Wed Mar 23, 2011 10:26 am
by 10050769
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,

Re: TChart in WPF

Posted: Wed Mar 23, 2011 4:24 pm
by yeray
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).

Re: TChart in WPF

Posted: Tue Apr 19, 2011 1:20 pm
by 10050769
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,