I'm using the Chart component in MIT App Inventor to display data. The data and the chart’s displayed values are not changing, but the line style itself changes over time — it starts as a curve, and then slowly becomes a straight line. Does anyone know why this is happening and how I can keep the line consistently as a curve?
After sleeping on your question I remembered some of my math.
There are techniques to derive the coefficients of an nth degree polynomial from a collection of n points.
So one point gives you a flat line, two points gives you a tilted line, three points gives you a parabola, more points gives you more smooth lumps in your curve.
This process becomes unwieldy when you reach too many points.
That's why you want to load your curvy graph from only a few recent data points.
A global list variable can be used as a vestibule or conveyor belt to act as the graph source, flushing and refreshing the graph from the length limited source as each new point arrives.