SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components


A runtime error is thrown when trying to pan a line render series with an x-Axis of type CategoryDateTimeAxis:

Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

The output in VS 2019 produced the following:

An unhandled exception of type ‘System.AccessViolationException’ occurred in SciChart.Data.dll
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

I use the new 6.x beta version with the new render engine.

No other stack trace is available, it only points to [External Code]

Any idea what might be going on?

Rendering with an x-Axis of type DateTime works just fine, the runtime error only pops up after I changed to CategoryDateTimeAxis.

  • Oleksandr Shvets
    Hi there, Thank for your inquiry. Could you please provide us with a small sample project reproducing this issue or with the steps to reproduce it on our side using our examples. Thanks in advance.
  • bbmat
    @Oleksandr Shvets, I added a sample project that reproduces the error. Please note that I removed the bin folder and so the project has tro be built first due to file size limitation. When running, please use the right mouse blick and zoom in and then pan left and right in the zoomed-in region and the same error will be thrown as indicated above.
  • Oleksandr Shvets
    Hi Matt, Thank you for the sample project. By the way – it looks like you have renewed your license but did not activate the new serial key. We suggest activating the renewed keys so that your profile shows as support active to our stuff!
  • bbmat
    @Oleksandr Shvets, thanks for pointing out the licensing activation. Just activated it. Would you know when this bug will be fixed? Most of my charts depend on CategoryDateTime axes and I cannot work with the new version until this is fixed.
  • You must to post comments
Best Answer

Hi Matt,

the issue has been resolved. Nightly build v6.0.0.12978 includes the fix.

Please find all the details on Getting Nightly Builds with NuGet here:

Best regards,

  • bbmat
    Thanks for addressing this issue, it works perfectly fine now. This question can be marked answered.
  • You must to post comments

Thanks for reporting Matt

I have added this to our list of issues to investigate for SciChart WPF v6 release.

Best regards,

  • Pengwei Gao
    I am using the SciChart.Data.dll(v6.2.0.13254 ) still this question ? is it fixed
  • Andrew Burnett-Thompson
    Hi Pengwei, if you experience problems please open a new forum question with steps to reproduce, our team will be happy to investigate. Best regards, Andrew
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.