04-23-2025 01:07 AM
Hello,
For some times i've seen that the WPF version of MS2015 Graph widget is very slow when there is many datas, much, much slower than Winform version.
Is there a reason ?
Is there a solution ?
Thx.
04-24-2025 04:36 AM
Hi Flow75,
Yes, WPF can sometimes be slower than WinForms for graphs due to rendering complexity and overhead.
I think this is mainly due to the rendering pipeline since WPF uses DirectX for rendering, while WinForms relies on GDI+. WPF is optimized for rich UI, animations, and vector graphics and not necessarily performance with massive data visualization unless specifically optimized.
But hopefully, there are some solutions and tips that involve reducing visual complexity, using lower-level rendering, or offloading to bitmap rendering for better performance.
You will find here a short list of possible optimizations:
Those are a few tricks to get better performances but there are indeed many others!
Hope it will help you,
Louis Zakarian