Dynamic number of LineSeries in WPF Charting using MVVM

Answered Dynamic number of LineSeries in WPF Charting using MVVM

  • Monday, April 16, 2012 2:54 PM
     
     

    I have gone through lot of sample projects on the net which claim to follow the MVVM pattern and have dynamic number of LineSeries (or) Series objects in a Chart,but rather each one of them just create a wrapper or inherit the Chart class and somewhere call the chart.Series.Add() function to add the series.

    I was searching for an example where we have ObservableCollection<ObservableCollection<int,int>> and I bind this List to the Chart.Whenver I add or remove any ObservableCollection from the outer list a Series automatically should get populated.

    Thanks in Advance.

All Replies