Hi!
I read somewhere else, that i can edit the index.html and put the desired background color there.
My grafana server runs on a mac and the path written in the other topic is:
/usr/share/grafana/public/views/index.html
i dont have a grafana folder in usr/share. I found this path on my mac:
usr/local/cellar/grafana/6.3.3/share/grafana/public/views/index.html
but if i open the index html all i get is this:
The post where i come from tells me to do this:
Edit the “index.html” file in grafana and add this line under the “title” tag:
<link rel="stylesheet" href="http://openhabianpi.local:8080/static/mygrafana.css" type="text/css">
Make sure you restart the Grafana service so the new HTML file is loaded!
Then, you can add a mygrafana.css file into your openhab html folder:
@charset "UTF-8";
.panel-container {
background-color: #19201c !important;
border: 0px solid #292929 !important;
}
This way grafana’s background of the charts matches my background and when the direct link image is rendered it looks perfect.