SfCartesianChart - updateDataSource not working as intended #871
Labels
charts
Charts component
waiting for customer
Cannot make further progress until the customer responds
Bug description
Hi,
I'm trying to plot real-time data comes from a sensor with updateDataSource method.
As in the provided code, I add and remove 1k new data points each second, so data count stays same.
However, as you can see in the video, newly added data is not being drawn and after couple of seconds the graph becomes empty.
Thanks.
Steps to reproduce
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
Screen_Recording_20241006_093846.mp4
Stack Traces
Stack Traces
No error.
Console log: [12]
I/flutter (18061): Data length: 10000 added: [9990, 9991, 9992, 9993, 9994, 9995, 9996, 9997, 9998, 9999] removed: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
On which target platforms have you observed this bug?
Android
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: