I tried to bind dynamic list like below but failed.
mapping.ItemsSource = cases ;
mapping.ItemMappings.Add(new ItemMapping(this.YValue, DataPointMember.YValue));
It seems something wrong with the seriesmapping?
Is it possible to bind a dynamic object list to a line chart or bar chart?
I use linq to query the dynamic objects
> callStats = (from c in ipCases
group c by c.Year into d
Year = Convert.ToInt32(d.Key.ToString()),
CaseCounts = d.Sum(x => x.CaseCount)
} as dynamic);