oxyplot: Multiple PlotView with large data is very slow (OutOfMemoryException thrown)

photo Hello,

I am using Oxyplot.WPF 2.1.0-Preview1, and I am ploting in a stackpanel about 10 Plotviews composed of :

  • 1 to 4 LineSeries for each Plot
  • +100K points for each LineSeries
  • Most of the charts have their X axis linked using a function (using zoom and invalideplot)

When I am importing big data like that, the UI is very low, and sometimes gives me OutOfMemoryException thrown.

How can I deal with big data in order to have good performance ? I heard about OxyPlot.SkiaSharp but I don’t know what I am supposed to do.

I am in .NET FRAMEWORK 4.7.2 (I was in .NETCORE before and I hadn’t this issue before, but I had to change)

Thanks, J

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 23 (10 by maintainers)

Most upvoted comments

I ran into the same issue (“System.DllNotFoundException: Unable to load library ‘libSkiaSharp’.”).

I created a new project and added the dependencies through Nuget. You can find the repo here. The designer only shows an error, but the binary is runnable and shows a chart.

image

image

Could anybody lead me into the right direction, because it’s a pain to develop an UI with this error.

Thank you!

Hey, i solve this issue in vs2019 by copy x86’libSkiaSharp’ dlls into system folder(syswow64).I think the issue is because the native library loading path of designer.