]> git.ipfire.org Git - collecty.git/commitdiff
graph: Draw all graphs from back to front
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 3 Oct 2025 10:04:42 +0000 (10:04 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 3 Oct 2025 10:04:42 +0000 (10:04 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/daemon/graph.c

index d1c275a6016c20a3796f1d311200feba7d33cda2..77e99a74de8276dbe79e2fdea8a5d66603e86b5f 100644 (file)
@@ -59,6 +59,10 @@ const char* DEFAULT_RENDER_ARGS[] = {
        // Add a watermark
        "--watermark=" PACKAGE_NAME,
 
+       // Invert legend order. This way, we can draw graphs from back to front
+       // to be able to user overlay and transparency.
+       "--legend-direction=bottomup",
+
        // Sentinel
        NULL,
 };