ChartView icon indicating copy to clipboard operation
ChartView copied to clipboard

Live updating line chart?

Open ddaddy opened this issue 4 years ago • 1 comments

Does this support a live updating line chart?

If I add data points every second, will it animate to the new point? And possibly once say 20 data points are visible I want to drop the first as I add to the end. Would the animations handle this?

ddaddy avatar Sep 29 '21 16:09 ddaddy

If you are using SwiftUI, getting the data from an ObservableObject would make any updates to the data re-render the view, thus updating the graph.

AlvaroRausell avatar Oct 23 '21 21:10 AlvaroRausell