How to draw line of ten thousands of points with WPF within 0.5 second?

后端 未结 5 529
攒了一身酷
攒了一身酷 2020-12-23 02:12

I am writing WPF code to show a real-time plot which is a connected line containing about 10,000 points. It takes about 5 seconds to show a picture in my computer. Does anyo

5条回答
  •  [愿得一人]
    2020-12-23 02:32

    Charles Petzold does exactly that. It is even faster on my host (< 0.3 secs), and the point's are even DataBound!! ;)

    Tamir Khason does this also, with lines and goes into more depth about Bitmap style performance WPF here.

    Rico Mariani has some guidance for 3D high performance graphics, essentially leveraging value types can improve your throughput if well thought out.

    Jianzhong Zhang gives my new favourate tutorials on this subject, 3D scatter plot several tens of thousands of data points animated and interactive.

提交回复
热议问题