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

Add option to use latest data timestamp as current chart time #92

Merged

Conversation

annazhelt
Copy link

I have data arriving in realtime, but it already has its own timestamps. I would like to pass in the data's original timestamps to the timeseries, and have the chart show data at the data timestamps instead of at the current browser time. This pr allows for that. The change also allows me to pause my stream of data and to stream it at different speeds.

Add option nonRealtimeData to config.
If nonRealtimeData is set to true, use the latest data timestamp as
the chart's latest time instead of current browser time.
@drewnoakes drewnoakes merged commit cb889d1 into joewalnes:master Dec 11, 2017
@drewnoakes
Copy link
Collaborator

This looks really great!

It looks like an option we should add to the builder too.

@annazhelt
Copy link
Author

Thanks! I'll look into adding it to the builder.

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

Successfully merging this pull request may close these issues.

2 participants