Pre loader

Black screen

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

When I open activity with chart on real devices chart area for a moment has black color and theh succesfuly displayed chart data.
On emulators I do not see thes behavior.
How can I fix black screen?

Version
2.1.0.2210
  • You must to post comments
1
0

Hi Evgeny,

Thanks for your inquiry.

I believe this issue could be caused by our default RenderSurface implementation. It is based on GlSurfaceView and there is some delay caused by OpenGL initialization when you attach it to View hierarchy. Please try to switch to Canvas based RenderSurface ( it’s a bit slower than OpenGL based RenderSurface but in most cases drawing performance should be OK ):

surface.setRenderSurface(new RenderSurface(getActivity()));

Hope this will help you!

Best regards,
Yura.

  • You must to post comments
0
0

After changing surface to RenderSurface I have black borders that I did not have before.

Images
  • Yura Khariton
    Can you provide a code which reproduces this output? BTW does it fix the issue with black screen?
  • You must to post comments
Showing 2 results
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