Pre loader

Implementing Pause and Resume feature

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

Can I implement a feature in SciChart that allows me to pause and resume rendering activity on a SciChart renderable surface when a user clicks on the SciChart renderable surface?

Version
3.1
  • You must to post comments
1
0

Hi there,

Could you clarify what you mean by pause/resume?

SciChart.js only redraws when:

  1. You change a property for example axis.visibleRange
  2. You update or change data in a dataSeries
  3. You resize the chart parent <div/>
  4. You mouse0over the chart with some behaviours enabled such as CursorModifier

If you are updating data dynamically and want to stop the chart redrawing, the simplest way would be to queue / buffer the updates (stop updating data).

However, if it is something else, then let me know

Best regards
Andrew

  • You must to post comments
1
0

Hi Andrew,

I need to freeze the plot that rendering on the scichart surface when i clicks on the rendering surface, and need to continue rendering with the realtime data when i click the surface i again. Is there any solution for this?

  • You must to post comments
1
0

Hi Vishnu

You can do pretty much anything with SciChart.js, however it depends exactly what you want, and how you’ve setup the chart so far.

Take a look at this demo: Zoom and Pan a realtime chart.

This has dynamically updating data, and when you click/drag to zoom, it pauses the scrolling, then resumes when you double click. There is also a video tutorial on the same topic here.

There is also a feature to freeze all updates (all drawing, scrolling, zooming, everything). However this will freeze all drawing which may not be what you want.

I suggest what you do is, share the code you’ve used to setup your chart (preferably in a Codepen, or CodeSandbox – Learn How), then say what behaviour you want.

From that we can provide a solution

Best regards
Andrew

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.