RealtimeDemo ADD RectangleAnnotation Error #2132
Replies: 2 comments 1 reply
-
|
I add points very quickly (about 5000 points per second); Call this PlotModel.InvalidatePlot(true); The refresh method is approximately every 25 milliseconds |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for your answer. I am using the WPF platform and have indeed made some improvements by locking in PlotModel. I am continuously working on it, but I have discovered another issue; For example, WPF divides an interface into five regions; Two areas simulate video playback (switching between images for playback); The other two areas have some new text information. One area uses PlotView to draw a real-time curve graph, and I found that PlotView flashes very hard every time it is forced to refresh. I have tried reducing the number of points and delaying the forced refresh time, but it has not been effective. I guess the UI scheduling cannot handle it, but I don't know if PlotView has a good way to solve this problem; Because of the same code, I took out PlotView separately and ran it on a separate interface without any problems |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello blogger, while adding points in real-time in RealtimeDemo, I dynamically added RectangleAnnotation within the corresponding X-axis range; When calling this PlotModel.InvalidatePlot(true); After refreshing, an error message appears indicating 'element' XAxis=null; But the interface has already fully drawn the coordinates of the corresponding time; The following image shows the location where the error occurred

Beta Was this translation helpful? Give feedback.
All reactions