Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live updating line chart? #215

Open
ddaddy opened this issue Sep 29, 2021 · 1 comment
Open

Live updating line chart? #215

ddaddy opened this issue Sep 29, 2021 · 1 comment

Comments

@ddaddy
Copy link

ddaddy commented Sep 29, 2021

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?

@AlvaroRausell
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants