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

jqplot widget using historical data? #10

Open
MacSass opened this issue Jan 16, 2018 · 0 comments
Open

jqplot widget using historical data? #10

MacSass opened this issue Jan 16, 2018 · 0 comments

Comments

@MacSass
Copy link

MacSass commented Jan 16, 2018

Hi,
I really like those charts - but I´m looking for a way to use this with "historical data" coming from a JSON (or CSV, I don´t care).

Use case:
I have a URL that provides a JSON file that always has the latest 2 hours of temperature data (including time stamps). I would like to get that data charted right away when the dashboard is loaded.
Also, it should poll the JSON periodically to get the latest data and update the chart with it.

Freeboard is great - but it really focusses on real time data and I would like some historical data and can´t get that to work ...

An example how to do that would be highly appreciated, I´m getting confused by your chart data item needing something like [[1,2],[3,4]] - why the double bracket.
Could I add a Javascript snippet here that pulls the JSON via AJAX and pushed the array to jqplot?

Thanks - MacSass

@MacSass MacSass changed the title jqplot with historical data ... jqplot widget using historical data? Jan 16, 2018
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

1 participant