Pre loader

Legend DataSeries check box sporadic toggle failure during realtime graphing

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

Hi,

I am working on an application that involves realtime graphing of large amounts of data. Plotting the data in realtime is working flawlessly, except the legend checkboxes associated with the DataSeries are quite temperamental.

By temperamental, I mean that attempting to toggle a checkbox in the legend (via clicking the checkbox), only works sporadically. Resultantly, the users are required to click the checkbox multiple times until the checkbox is successfully toggled.

This only occurs while plotting realtime data, and I’m assuming it is related to the UI thread being bogged down.

I’ve tried setting the SciChartSurface.RenderPriority to low, but this failed to fix the issue. I’m unsure if there is anything you guys can do on your side; however, I figured I’d reach out just in case. Any tips would be much appreciated!

Version
8.0.0.27737
  • Lex
    • Lex
    • 9 months ago
    Hi Jared, Thank you for reporting this. Could you please also provide us with steps to reproduce the reported issue in one of our examples from the WPF Examples suite or prepare a small sample project reproducing this and send us for investigation? Thanks in advance, Lex, SciChart Technical Support Engineer
  • You must to post comments
0
0

Hi,

It sounds like the UI thread is indeed getting bogged down due to the real-time data plotting. One potential solution is to offload the legend checkbox updates to a separate thread. You can use a Task.Run to handle the checkbox state changes asynchronously. Additionally, ensure that any UI updates are invoked on the main thread using Dispatcher.Invoke. This way, your main UI thread isn’t overwhelmed by both plotting and handling user interactions. Give this a try and see if it improves the responsiveness of your legend checkboxes.

Hope this helps!

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.