minion icon indicating copy to clipboard operation
minion copied to clipboard

Switch from epoch.js to something more modern

Open kraih opened this issue 8 years ago • 8 comments

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 avatar Apr 07 '18 15:04 kraih

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

kraih avatar Apr 07 '18 15:04 kraih

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

kraih avatar Apr 07 '18 15:04 kraih

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

kraih avatar Apr 07 '18 15:04 kraih

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

kraih avatar Apr 16 '18 18:04 kraih

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

kraih avatar Jul 09 '20 16:07 kraih

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

jhthorsen avatar Jul 10 '20 01:07 jhthorsen

@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 avatar Jul 10 '20 02:07 kraih

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

kraih avatar Aug 03 '20 16:08 kraih