[Vala] Graphing with libdazzle



Has anyone on here ever used libdazzle [1]? It looks really nice and
it appears to be fairly easy to use to make graphs for my project.
Appearances are deceiving though, and trying to convert the single
JavaScript example [2] in the repository to something I can do in Vala
has proved to be beyond my meager capability. There is documentation
for it on valadoc [3] but, sadly, as is typical for valadoc, it's a
lot of function and property listings with no explanations or
examples.

The only other example of usage I could find, was that I dumbly
stumbled onto a commit [4] for GNOME System Monitor which is in C.
That also proved unfruitful for me.

Any tips or examples would great!

[1] https://gitlab.gnome.org/GNOME/libdazzle
[2] https://github.com/GNOME/libdazzle/blob/master/examples/graph/js/cpu_graph.js
[3] https://valadoc.org/libdazzle-1.0/Dazzle.html
[4] 
https://git.gnome.org/browse/gnome-system-monitor/commit/?h=wip-charts&id=6c00e3a80d94e5f0bd4a8bad47fe5b8fcdb411b2

Steven N. Oliver


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]