Pre loader

how to use android surfaceview on the top for sci chart

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

I want to use the SCI Schart view over the smartphone camera surfaceview layout.
When the SCI Chart view is overlapped on the camera surfaceview, only the camera image is visible.
How can the SCI Chart view look normal on the camera surfaceview?

Version
1.1.1
Images
  • You must to post comments
1
0

Hi there,

I think this happens because by default we use render surface which is based on GLSurfaceView. GLSurfaceView has the best performance but it has a drawback – GLSurfaceView is drawn outside of Android’s view hierarchy and doesn’t support transparency.

Please can you try to switch to other render surface implementation. For example you could try to switch on GLTextureView which is based on TextureView. It was created to resolve problems which I described above but it isn’t so fast as our default render surface:

    sciChartSurface.setRenderSurface(new GLTextureView(getActivity()));

Hope this will help you.

Best regards,
Yura

  • You must to post comments
Showing 1 result
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