I build an App with a Rest API. The original Data from an ioT Channel gets via Rest API into my app, where I visualize it in a chart. Everything worked in the preview (see attachment). When I publish the app and open the chart, it is completly diffrent. (see attachment) And every time I open the chart (via a microflow which is attached), the chart gets worse. (The data is still the same in the iot Channel)
It looks like your data points keep going back to you first data point. Is your data properly sorted and undoubled? If you're using non-persistent objects make sure they are not kept in memory if you re-connect with the API again.