Chart bulk data index update

Hi,

I have been using the updateDataSource method to update the Line Series Chart. When use addedDataIndex, for updating one index at a time it's fine. But how do I update bulk data index into the chart. Tried using  addedDataIndexes, but it's not working.

Would be helpful if i could get an working sample code of updating bulk indexes.

Thanks
Aswin.


1 Reply

YG Yuvaraj Gajaraj Syncfusion Team April 6, 2022 02:13 PM UTC

Hi Aswin,


We have already had a sample that loads the bunch of data and updates it with the help of updateDataSource method by getting the updated index value from the getIndexes method. We have attached the sample link below for your reference.


Sample: https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/cartesian_charts/infinite_scrolling.dart


If you have any further query, please get back to us.


Regards,

Yuvaraj.


Loader.
Up arrow icon