Pre loader

Problem with SciChart in Floating Windows

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 hope you can help, i’m running out of ideas. I have multiple charts and other controls in an application with multiple windows controlled by a third party docking manager. SciChart works fine as long as the windows are docked but when they are floated the charts stop updating although the data context is still valid and other controls can be floated ok.

I have created a sample with a button which toggles the display of two charts and a text box demonstrating the problem. The text box and button can be floated and continue to work while the charts will not, and also do not work when they are re-docked. The sample is attached but I have ommitted the docking library dll as it is licenced and I don’t want to make it available globally, please email me if you need more information.

I am using VS2012, .NET4.5 and SciChart 1.7.1.2560.

Thanks
Dai

Attachments
  • You must to post comments
0
0

Hi there,

We’ve investigated the issue, actually, it was reported several times already. It’s caused by SeriesSource, we unsubscribe from listening to changes inside SciChartSurface. Unloaded handler. So you can work around the issue in such a way:

sciChart.SeriesSource = null;
sciChart.SeriesSource = SeriesSource;

Do this every time you detach a window from dock.

Please, let us know if this helps! And thanks again for attached project, this really helps to reproduce & fix issues quickly!

Best regards,
Yuriy

  • Dai
    • Dai
    • 11 years ago
    Hi, Thanks, i've implementsd the fix in the SciChartSurface.Unloaded event of each of the charts and it works great. Cheers Dai
  • 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