Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Library for realtime graphs in perl.

by cavac (Curate)
on Oct 22, 2018 at 14:47 UTC ( #1224501=note: print w/replies, xml ) Need Help??


in reply to Library for realtime graphs in perl.

While not strictly within your requirements, you could one of the many HTML/Javascript based plotting libraries and feed it pseudo-realtime data via websockets. This demo does it, except without the websockets part.

Or you could code your own webbased solution with HTML5 Canvas and websockets, for which it is also very easy to feed back user interactrion to your backend. While not a graph, a demo of the technology is here on my blog, and a description about interprocess messaging with Net::Clacks to feed data between the webserver and the backend is here: Interprocess messaging with Net::Clacks

Of course, this is only the way i would have solve, or rather have solved it in the past. And yes, this post is a shameless plug for my very own Net::Clacks ;-)

perl -e 'use MIME::Base64; print decode_base64("4pmsIE5ldmVyIGdvbm5hIGdpdmUgeW91IHVwCiAgTmV2ZXIgZ29ubmEgbGV0IHlvdSBkb3duLi4uIOKZqwo=");'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1224501]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2021-03-04 20:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (107 votes). Check out past polls.

    Notices?