Pre loader

Errors logged when creating SCIChartSurface programmatically

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


When I create a SCIChartSurface programmatically, following the Quick Start guide:

Functionally everything works as expected, but I see a series of these messages in the log:

   [CAMetalLayer nextDrawable] returning nil because allocation failed.

I do not see these messages when the SCIChartSurface is instantiated via a storyboard.

  • You must to post comments

Hi, Julian.

Thanks for pointing out this error.

We’ve created an issue and will take a look.

  • You must to post comments

Hi there,

Please create SCIChartSurface with some initial size, because underlying MTKView and it’s layer requires non-zero size.
This way issue will go away.

Hope that helps.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.