I have a wpf control, a chart, in which the user can interact with the mouse.
Now I have a time heavy calculation every time the mouse moves, it needs around 700 ms to do (even after a bunch of performance reviews). The result should be displayed within a label.
So what I want to do is, when the mouse moves instead of doing right away and update the label (then the UI lags for nearly a second), I want to do this asynch and update the label when the calc is finished.
How to do that?