amCharts for WPF & Silverlight support forum

You are not logged in.

#1 2009-04-22 10:21:44

tasiorello
Member

Charts in DataTemplates

Hello,

I tried to use a amChart chart in a DataTemplate but I get following error:

"NameScopeProperty found within the content of a FrameworkTemplate, on a 'AmCharts.Windows.LineChart' object. Name scopes within templates are not supported."

Can I use charts in data templates ?

Thanks.

Offline

 

#2 2009-04-23 09:04:12

ailon
Administrator

Re: Charts in DataTemplates

NameScope is created in charts for animations. You can't do animations in code without it in .NET 3.5 without SP1. It seems from your post that this is not allowed in DataTemplates so this probably means that currently you can't put amCharts in data templates. However will add this issue to our todo list and see what we can do about it in future versions.

Best regards,
Alan.

Offline

 

#3 2009-05-08 06:35:52

ailon
Administrator

Re: Charts in DataTemplates

We were able to fix this issue. Would you be interested in trying the pre-release version of the fixed controls before we release them?

Offline

 

#4 2009-05-11 02:12:46

ailon
Administrator

Re: Charts in DataTemplates

We've released 1.0.1 version with the fix included.

Offline

 

© amCharts | Forum engine: PunBB