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

Realtime data #657

Closed
gkaimakas opened this issue Jan 7, 2016 · 4 comments
Closed

Realtime data #657

gkaimakas opened this issue Jan 7, 2016 · 4 comments

Comments

@gkaimakas
Copy link

Hello,

I am trying to display realtime data on a linechartview. I want only the last 10 values to be visible at each time with or without the user to be able to scroll.

Can anyone hell?

@pmairoldi
Copy link
Collaborator

There is no realtime data support yet but what you can do is have a method that processes your data and then reloads the chart.

@liuxuan30
Copy link
Member

You can try search old issues about realtime data, I remember there are some.

@gkaimakas
Copy link
Author

I figured it out. Each time I get a new reading I create a new dataset and a new data object and set the new data as the data of the chart. Works great

@pmairoldi
Copy link
Collaborator

Yep. That is the proper way of doing it right now.

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

3 participants