Pre loader

Black background during loading?

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;

When I open Scichart for the first time, the chart view looks black until it is displayed by drawing the chart.
Is it possible to make the background in a different color until the chart is displayed?

Tnx.

Version
2.5
  • You must to post comments
0
0

Hi Emre,

This is known limitation which is caused by using OpenGL for rendering. Unfortunately there is nothing we can do in this case except try to switch to alternative RenderSurface implementation which doesn’t use OpenGL:

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

Or alternatively you can create some splash screen ( e.g. place some other View on top ) and show it until OpenGL is fully initialized.

Best regards,
Yura

  • You must to post comments
0
0

Yes, for iOS, we made it by hiding the view when there is no data. And will unhide when going to populate data.

  • You must to post comments
0
0

With surface.setRenderSurface(new RenderSurface(getActivity())); there is no change occurred.
Maybe a splash screen may be the solution but it is not practical.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.