Barchart is not rendering data with data fetched dynamically from firebase

Widgets & Design

Hello everyone,

I'm stucked by a strange behavior with bar chart.

I have a barchart with number lists as data source. The x values are weekdays and y values are list of doubles. The list of doubles is dynamically updated with data from firebase according to the week selected by user. This works perfectly fine in test mode. But when it comes to run mode, it seems that the bar chart does not recognise the values from firebase (587.45 ,465.23 etc) and show only the default value (120 for testing).

Other datas are fetched correctly in list in run mode though. so I don't think it's a firebase configuration problem.

Thanks upfront!

What have you tried so far?

everything.

Did you check FlutterFlow's Documentation for this topic?
Yes
2