Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Real-time WPF chart .Net 4

I'm working on a diagnostic tool and receives data every 25 ms. I need this data to be drawn in my chart using a lineSeries. I'm using a a wpf chart with a lineSeries which I bind in xaml to an ObservebleCollection.

The problem is that I need the collection needs to contain atleast 1600 datapoints before starting to remove them at the front.

I understand that 25 ms is a short tiem then it comes to drawing in wpf. Dose anyone have any solution to my problem?

Regards

like image 853
lindberg00 Avatar asked Jan 30 '26 06:01

lindberg00


1 Answers

You should check out SciChart, which can handle data updates at 1ms. It renders like a game-loop, so only draws when new data is appended and the UI thread is free. Some more information at www.scichart.com/wpf-chart-features which shows the features and talks about performance.

enter image description here

Disclosure: It's my own component, so ask any questions if you have them!

like image 104
Dr. Andrew Burnett-Thompson Avatar answered Jan 31 '26 20:01

Dr. Andrew Burnett-Thompson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!