SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

0
0

Hi!

In our application we are using several instances of SciChart, but only a few are visible at a time. Still, it seems that all of them are being rendered (seen using a performance profiler when no charts are visible). I’ve tried calling SuspendUpdates on the data set to prevent redraws, but it doesn’t seem to have any effect.

How can I stop SciChart from rendering until the view containing the chart is visible?

(Currently using SciChart 1.7.1 for .Net 4.0)

Regards,
Bjørn Terje Svennes

  • You must to post comments
0
0

Hi there,

SuspendUpdates freezes redrawing until the returned IUpdateSuspender is disposed. It should freeze not only drawing but all updates such as resizing etc…

Other than that I can only suggest removing the DataSeriesSet temporarily from the chart, then any updates will just be ignored until you reattach the set.

Hope this helps!
Andrew

  • You must to post comments
0
0

By removing the binding to the data set when the view is not visible, the chart is no longer rendered.

Thank you very much for the advice 🙂

Regards,
Bjørn Terje

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.