I’ve been trying to get SciChart to work with good performance and as part of my experimentation am trying to see how RenderPriority.Manual works. As far as I can tell, it doesn’t.
I haven’t been able to find much in terms of samples or docs. According to the little documentation here:
https://www.scichart.com/documentation/v4.x/SciChart.Charting~SciChart.Charting.Visuals.RenderPriority.html
It says
Manual — Never redraws automatically. You must manually call
InvalidateElement() or ZoomExtents() on the SciChartSurface in order
to get it to redraw
Now, when I try to call either of those functions on my SciChartSurface, nothing visually happens. I’ve tried other Invalidate methods as well, and still no refresh love.
I’ve attached the small sample application that repro’s the issue.
Please let me know what I’m doing wrong.
Thanks,
Brian
- Brian Estey asked 7 years ago
- You must login to post comments
I really wouldn’t do that. The intention of RenderPriority.Manual is to say ‘never ever redraw, unless we tell you to’.
That means no updates on zooming, panning, mousewheel, no tooltips, resizing etc…
If you really want to improve performance of your application there are other ways to do it, than to tell SciChart not to draw 🙂 Perhaps let us know what you need in this area and we may be able to help?
Best regards,
Andrew
- Andrew Burnett-Thompson answered 7 years ago
- Hi Andrew. Thanks for the quick answer and while I appreciate the sentiment, I’m curious how to get the feature to work at all. The main reason I’m trying to do this is as an RnD exercise in increasing performance. I’ve asked the question about my situation here (https://www.scichart.com/questions/question/multiple-chart-performance-in-wpf-slows-down-considerably-when-mouse-is-moved#sabai-entity-content-9936) and this Manual approach is another idea I had to try to alleviate mouse issues. If you have an answer for that, we can discuss in that question thread. Otherwise, I’m curious what I’m doing wrong with RenderPriority.Manual.
- You must login to post comments
Please login first to submit.