]> git.ipfire.org Git - collecty.git/commit
graphs: Render an empty graph if there are no sources master
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 5 Jun 2026 14:30:01 +0000 (14:30 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 5 Jun 2026 14:30:01 +0000 (14:30 +0000)
commitfa92394f80ddcfd1f1ce95da2d5213a0a972e8d4
tree1fbd0d9419191b9fa9a4e3533c1cbc758de25278
parentc2d8f509310dbd03d7c4ce92ec0fc80ac4690c05
graphs: Render an empty graph if there are no sources

Graphs like temperature graphs don't have any data sources whatsoever
for example in a virtual machine. Because rrdtool would normally fail,
we will instead create an empty graph that even has the correct labels
and shows a note at the bottom.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/daemon/graph.c