Quantcast
Channel: OxyPlot (moved to GitHub)
Viewing all articles
Browse latest Browse all 2061

Commented Unassigned: Fast dynamic data. System.InvalidOperationException [10104]

$
0
0
im use fast dynamic data. sometimes it thrown exception (An unhandled exception of type 'System.InvalidOperationException' occurred in mscorlib.dll) - collection changed; cant iterate this. i solved the problem changing "foreach" to "for" in OxyPlot.Series.ScatterSeries and in OxyPlot.Series.DataPointSeries.cs
Comments: The collection should not be changed while the plot is updating/rendering. I think the synchronization should not be handled by the plot model, but by the client application. Did you try using the synchronization root object `SyncRoot` in the `PlotModel`? Search for usages to find examples!

Viewing all articles
Browse latest Browse all 2061

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>