VERY bad performance of OxyPlot LineSeries with over 2M in one plot(WPF)

mike 2 years ago in Bugs • updated 2 years ago 1

Hi, I'm experiencing a VERY bad performance with oxyplot graph, specifically, 3 LineSeries with over 2M points. I'm not drawing anything fancy, the background is with solid color with no images and no markers or anything like that. The graph cannot be even scrolled properly.

I wished I was aware to this performance hit before I implemented my whole project with this library... Is there some solution with how to deal with such issues? Is there a DX wrapper ready to boost the performance?

I would also like to know why after loading all the items(over 2M)when there is no activity(such as adding, panning, zooming) the application response is very slow? are there oxyplot updates that are happening in the background? Is there some way to "lock" the graphs?

Thanks, Mike

Just to add, my WPF application becomes unresponsive even if I limit the graph display to only 7500 items ( the graph source still has over 2M items), I can see that it is busy in CalculateActualInterval and the like. As it seems, to deal with this situation I will have to write a virtualization layer on top that will expose to the oxyplot layer only 7500 items each time, all this to cover on this awfully poor performing graph lib or is it WPF to blame? Very frustrating..