Question:I have Lists of values containing double type numbers and each of this lists contains about 5000 values. Each of this lists has been collected from a microcontroller within 60 seconds.
I want to create a line chart to show the variance of this values. I tried to use the Spline Chart in Flutter but I cannot manage to make it read values from a list as its throwing this error:
The return type ‘List?’ isn’t a ‘num?’, as required by the closure’s context.
and here is the code:
ChartDatais List. And you try to assign it to
yis not fixed, you can use this function to generate
If you have better answer, please add a comment about this, thank you!