Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3590
What is the most efficient way to update a series multiple times a second with many points?
posted

Using the latest version (11.1) of the datachart I need to add roughly ~300 points 10 times a second so that the chart looks like it is flowing smoothly. Currently I have a observable collection that I simply add values to in a for loop every 1/10th second. What I want to make sure of is that the chart does not try to redraw in between each add or even group of adds. I would want it to redraw only after all 300 points are added. Is there I way I can tell how often the graph is redrawing itself? Also, is there a better way of minimizing redraws? Should I disconnect the observable collection, add the values and then reconnect it?

Any optimization advice would be appreciated.