The problem
Hello,
I would like to ask if it is possible in LibreNMS to define the background color for the entire graph, including the legend, similar to how it is possible using the bg=FFFFFF parameter in the URL. Currently, I am using the following URL to display the device availability graph:
graph.php?type=device_availability&device={{ $alert->device_id }}&from=end-24h&to=now&bg=FFFFFF&legend=yes
The issue arises when the email client has a dark theme, and the graphs are transparent, causing display problems. Would it be possible to add an option to color the entire graph area, including the legend, to ensure proper visibility in different email client themes?
I know that the bg=FFFFFF parameter only colors the graph itself without the legend. Could this functionality be extended to include the legend as well?
Thank you for your help and response.
Best regards,
Milan Volf
See the current preview of the email message from the client: