Pre loader

Synchronization of surfaces, constructed from different threads

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

0
0

Hello!

Is there way to create surfaces in different threads (on the same WPF Window) and then synchronize them via groups – methods SciChartGroup.SetVerticalChartGroup() and MouseManager.SetMouseEventGroup() ? Now i catch threads access error 🙁

Thanks!

Version
v4.2.3
  • You must to post comments
0
0

I’m afraid not, the MouseManager.MouseEventGroup property wants to share mouse events across charts, and assumes they are on the same thread. Similarly the synchronising of charts requires a VisibleRange binding so they will need to be on the same thread.

Is there any reason why you are creating many chart surfaces on different threads (but on the same window?) SciChart should be fast enough to display plenty of charts, all on the UI thread.

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