Pre loader

Charts in a RecyclerView

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

Good morning,

I would like to ask you about the solution contained in the title. Is it possible to create realtime charts (for example 7-10) in a list (RecyclerView)? I have studied your example but there were none with a list.

The fragment in the example called createMultiPaneStockChartsFragment contains 4 charts. But unfortunately, it is not a list.
I made a simple activity with 5 charts in a RecyclerView, but charts are stucking a bit.
I do not call notify methods. There is only update LineData method:

oneChartClass.getLineData().append(oneChartClass.getLineData().getCount(), trendPoint.getValue());

Thanking you in advance…
Hubert

Version
2.0.0.1806
  • You must to post comments
0
0

This example not working, getting following error:

2022-05-24 12:15:56.891 23781-23811/com.scichart.examples E/prepareExample: Eeg Channel:res/layout/example_eeg_channels_fragment.xml.txt
java.io.FileNotFoundException: app/src/main/res/layout/example_eeg_channels_fragment.xml.txt
    at android.content.res.AssetManager.nativeOpenAsset(Native Method)
    at android.content.res.AssetManager.open(AssetManager.java:939)
    at android.content.res.AssetManager.open(AssetManager.java:916)
    at com.scichart.examples.demo.helpers.Example.prepareExample(Example.java:99)
    at com.scichart.examples.demo.helpers.Module.initializeExamples(Module.java:81)
    at com.scichart.examples.demo.helpers.Module.initialize(Module.java:59)
    at com.scichart.examples.StartupActivity$ParseExampleTasks.doInBackground(StartupActivity.java:85)
    at com.scichart.examples.StartupActivity$ParseExampleTasks.doInBackground(StartupActivity.java:63)
    at android.os.AsyncTask$3.call(AsyncTask.java:394)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    at java.lang.Thread.run(Thread.java:920)
Images
0
0

Hi Hubert,

There is actually one example but it’s hidden by default and we use it more for our internal testing. If you want you can make it visible by changing IsVisible from false to true in its description.

Best regards,
Yura

  • 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