SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
I have an application that allows users to select between different sources of data, which then updates a chart with the newly selected data (see attached image for an example). I’ve noticed that when toggling between a few of the data sources rapidly, a Stack Overflow Exception will occur (after toggling for about a minute).
Sometimes the error will be generated from SciChart.dll, other times it will be generated from WindowsBase.dll. There’s no stack trace from these exceptions and I haven’t been able to makes sense of the crash dump files.
Are there any known conditions for this error (and/or any potential workarounds)? I’ve produced a small sample application to reproduce this issue outside our application. I’d be happy to provide the application, if needed.
Unfortunately we haven’t seen anything like this before, and it’s not been reported elsewhere, so we’re not aware of any bug or workaround we can give you.
If you can get the example to us that would be good, we can investigate. I would suggest a support-ticket because then the application is private (whereas forum attachments are public)
Thank you for sending the sample over!
So SciChart gets stuck in an infinite loop trying to update XAxis.VisibleRange Max/Min using the VisibleRangeLimit which then causes the VisibleRangeLimit to update which causes the XAxis.VisibleRange Max/Min to update 🙂
Suggestion is to use two different instances of DoubleRange for these two properties and it should work perfectly!
Please login first to submit.