I have an error like this when tried to get the data for chart
type \'List>\' is not a subtype of type \'List\'