Hi,
I'm using the MVVM pattern with the XAML binding as follows:
AxisX>
---
class ChartViewModel
{
private ObservableCollection _strategyList;
public ObservableCollection StrategyList {get{return _strategyList}}
public ChartViewModel() {
foreach (strategy in _strategyList) strategy.PropertyChanged += delegate {OnPropertyChanged("StrategyList")};
...
}
class StrategyViewModel
{
public string Name {get;set;}
public ObservableCollection Points
...
So the XAML will list down the first level collection as series and then plot the curve for each series. The problem is, when I make changes to Points, it doesn't get updated. Anyone can help?