title: Creating Oxyplot PlotModel that automatically updates with new data incoming
body: <p>I've been following this excellent tutorial found <a href="http://blog.bartdemeyer.be/2013/03/creating-graphs-in-wpf-using-oxyplot/" rel="nofollow noreferrer">here</a> in order to learn how to create LineSeries plots using OxyPlot while following MVVC. I've also downloaded, and after some error fixing, managed to get the author's source code for the tutorial to compile and run. The source code on Github can be found <a href="https://github.com/BartDM/OxyPlotDemo" rel="nofollow noreferrer">here</a>.</p>
  
  <p>Unfortunately, while the code runs and the chart is created, the chart doesn't update itself every 5 seconds like it should. This is what the chart looks like on my machine forever. It doesn't update: </p>
  
  <p><a href="https://i.stack.imgur.com/FXinR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FXinR.png" alt="enter image description here"></a></p>
  
  <p>This is what it should look like, more plots should show as time increases:<a href="https://i.stack.imgur.com/KNCri.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KNCri.png" alt="enter image description here"></a></p>
  
  <p>Now, I've done some digging of my own to find out why it isn't updating. I've added some debugging commands to find whether new points are added correctly, as below: 
  <a href="https://i.stack.imgur.com/CxyoF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CxyoF.png" alt="enter image description here"></a></p>
  
  <p>I've checked that UpdateModel gets called every 5 seconds, and that measurements are correctly returning from GetUpdateData, and that the lineSerie.Points count is increasing before the end of the function. InvalidatePlot is also called in the actual View class.</p>
  
  <p>Is there anything else I can do to solve this problem? Thanks</p>