Hi Ankita,
As mentioned earlier, when you call the setState method in your application, it will trigger a rebuild of the entire chart widget and all of its properties will be updated.
If you are facing an issue with updatedDataSource, please share more details with the chart code snippet and replication procedure, so that it will help us assist you in a better way.
Regards,
Yuvaraj.