Pre loader

How to use RenderPriority.Manual?

2
1

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

Version
Latest Nuget version
  • You must to post comments
-1
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies