mojolicious / minion

:octopus: Perl high performance job queue

Home Page:https://metacpan.org/release/Minion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switch from epoch.js to something more modern

kraih opened this issue · 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.

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

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

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

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

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

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 Don't just throw around random charting library names, give examples for how to do the real-time graphs we need for Minion.

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