Freezing UI

Oct 24, 2013 at 10:17 AM
What are the causes for an update to an oxyplot freezing the UI?
Oct 24, 2013 at 1:20 PM
Not only OxyPlot, but everything will freeze your UI if you do not use a separate Thread for performing that operation. I think this can be done in OxyPlot using
instead of
You may like to take a look at Threads and BackgroundWorker.
Oct 24, 2013 at 2:43 PM
It is exactly this call that is temporarily freezing the UI. The function which updates my plots ItemsSource and calls InvalidatePlot(true) is already running on a separate thread. I have no idea what i'm doing wrong! :(
Oct 25, 2013 at 12:05 PM

public void Update(bool updateData = true)

in PlotModel.cs. This is running on the main thread - updating thousands of points. How can I make this update run on a separate thread?