SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
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.
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
Yes, for iOS, we made it by hiding the view when there is no data. And will unhide when going to populate data.
With surface.setRenderSurface(new RenderSurface(getActivity())); there is no change occurred.
Maybe a splash screen may be the solution but it is not practical.
Please login first to submit.