SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
I am still experiencing the effects of this defect despite using v2.5.0.2598 of the Android libraries. Can someone please explain to me how to circumvent this behavior? It seems silly to require a base series that is ultimately going to be replaced by real-time updates.
Cheers
I would like to also mention you have marked my trial as expired but our company purchased a license under another name.
Its easy mate. just create a data series like so:
sciChartBuilder.newXyDataSeries( Double.class, Double.class ).build();
dont add anything to the series and then try to plot. produces this:
Caused by: java.lang.ArrayIndexOutOfBoundsException: SciList: index is out of bounds – 1
at com.scichart.data.model.d.e(SourceFile:421)
at com.scichart.data.model.d.setRange(SourceFile:330)
at com.scichart.charting.model.dataSeries.XyDataSeries.updateRangeXyAt(SourceFile:336)
at com.piccolomed.smartpicc.android.activities.fragments.analytics.AnalyticsFragment.lambda$onActivityCreated$7$AnalyticsFragment(AnalyticsFragment.java:404)
at com.piccolomed.smartpicc.android.activities.fragments.analytics.-$$Lambda$AnalyticsFragment$dyKPdWwrf6wAdPgxvBj4M4fldnU.onChanged(Unknown Source:8)
at androidx.lifecycle.LiveData.considerNotify(LiveData.java:113)
at androidx.lifecycle.LiveData.dispatchingValue(LiveData.java:131)
at androidx.lifecycle.LiveData.setValue(LiveData.java:289)
at androidx.lifecycle.MutableLiveData.setValue(MutableLiveData.java:33)
now explain?
Um append, insert or update produce the same results. ive debugged and not matter the case if the series does not have data prior to attempting “add” it will through the same exception. if you would like i would love to video with you and show you
Thanks for your assistance. I was able to get it resolved by adjusting how we “update” the series.
Please login first to submit.