When I used a radchart control version of 2009.31314.1030 in my silverlight project, It was able to bind anonymous type to control by adding following code to AssemblyInfo.cs file.
* Add to Asseblyinfo.cs
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo(
"System.Windows"
)]
* My bindng code snipet (It worked well)
var mtbfsummary = (from kpisummary
in
kpisummaryresult
orderby kpisummary.ExtractDate descending
select
new
{ XValue = kpisummary.ExtractDate, YValue = kpisummary.MTBF }).Take(7);
this
.TotalRateNormalChart.ItemsSource = totalratesummary;
But After I upgraded control to upper version - version : 2010.1.603.1030 - , then it does not work any more.
Why does it happen?
Is there a way to bind anonymous type to chart control?