Chart2D become slow and lag when data bigger

Hello,

I am using chartdata2D1 block to real time plot the data receiving via BLE.

Everything works fine. But when I try to increase the data rate, the chart function become so slow and lag leading to close the app. It seems like the app can not process the big block of data in real time.

I appreciate any help or suggestion.

Best,
MinhDuc

How much live data does the chart display?
I think it makes no sense to display thousands of data on one small chart, which is on a small phone screen. Display only a dozen or several dozen data. Hide older data and don't show it. Use, for example, an additional slider to show archived data.

1 Like

Thank you for your comments.