Pre loader

1

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

All Answers » Re: How to fix a lag when scrolling over a line chart that has already been drawn » Comments for "Re: How to fix a lag when scrolling over a line chart that has already been drawn"
  • abolfazl ghanbari
    I did what you said, but it didn’t work. Is there no other way?
  • Yura Khariton
    Without profiling the application it’s hard to tell why application lags. I couldn’t compile your code into project because of missing code pieces and this is the only thing which I noticed which could significantly harm performance. So there is nothing I can do in this case, unless you provide provide results of profiling or full project ( so I can run and profile on my computer )
  • abolfazl ghanbari
    My chart is very similar to the chart at the top of example https://www.scichart.com/example/android-audio-analyzer-chart-example/ . But my problem is that both in the example and in my chart, the chart is associated with vibration. Can this minor vibration be eliminated?
  • Yura Khariton
    It’s hard to understand what do you mean by ‘minor vibration’. Do you have some example, video or screenshot which demonstrates desired output vs current output?
  • abolfazl ghanbari
    After further investigation, I came to the conclusion that adding the following line would solve the problem : binding.sciChart.setRenderSurface(new RenderSurface(getContext())); or binding.sciChart.setRenderSurface(new RenderSurfaceGL(getContext())); But we don’t know which code line is better for each device. Can you guide me?
  • Yura Khariton
    Please take a look on this article from documentation which explains difference between existing renderers – https://www.scichart.com/documentation/android/current/webframe.html#Renderer%20Plugins.html