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

Switch from epoch.js to something more modern #69

Open
kraih opened this issue Apr 7, 2018 · 8 comments
Open

Switch from epoch.js to something more modern #69

kraih opened this issue Apr 7, 2018 · 8 comments

Comments

@kraih
Copy link
Member

kraih commented Apr 7, 2018

Since epoch.js seems pretty much unmaintained now, i think it would make sense to switch to something more modern, like chartist.js, for the real-time graphs on the dashboard of the Minion Admin UI.

@kraih kraih added the future label Apr 7, 2018
@kraih
Copy link
Member Author

kraih commented Apr 7, 2018

Only requirement is that it has to look at least as good as the current graph. 😉

@kraih kraih changed the title Switch from epoch.js to chartist.js Switch from epoch.js to something more modern Apr 7, 2018
@kraih
Copy link
Member Author

kraih commented Apr 7, 2018

Chart.js might work well for us too, it's based on the canvas element instead of SVG.

@kraih
Copy link
Member Author

kraih commented Apr 7, 2018

It's quite annoying that epoch.js is not even compatible with the latest version of D3 anymore.

@kraih
Copy link
Member Author

kraih commented Apr 16, 2018

This now also includes the history graph we added in Minion 9.0.

@kraih
Copy link
Member Author

kraih commented Jul 9, 2020

It looks like plotly.js has everything we need. https://plotly.com/javascript/streaming/

@jhthorsen
Copy link
Member

I think chart.js is nice to use, but it requires momentjs making it rather big. For that reason I would choose chartist.js.

@kraih
Copy link
Member Author

kraih commented Jul 10, 2020

@jhthorsen Don't just throw around random charting library names, give examples for how to do the real-time graphs we need for Minion.

@kraih
Copy link
Member Author

kraih commented Aug 3, 2020

It's really hard to find something as good as epoch.js for this task. Real shame it has been abandoned.

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

No branches or pull requests

2 participants