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
- Hubert Lączak asked 5 years ago
- last edited 5 years ago
- You must login to post comments
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)
- Yevgenij Homyak answered 2 years ago
- last edited 2 years ago
-
Hi Yevgeniy. Thank you for report. Eeg Channels example is currently hidden, so probably we missed it during testing. For now please take a look on spark lines example – https://github.com/ABTSoftware/SciChart.Android.Examples/blob/SciChart_v4_Release/app/src/main/java/com/scichart/examples/fragments/examples2d/multiChart/SparkLinesChartsFragment.kt and https://github.com/ABTSoftware/SciChart.Android.Examples/blob/SciChart_v4_Release/app/src/main/java/com/scichart/examples/fragments/examples2d/multiChart/StackedColumnChartFragment.java
- You must login to post comments
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
- Yura Khariton answered 5 years ago
- You must login to post comments
Please login first to submit.