How to Display values on top of SVG diagram image in Grafana 7.0 in Windows?
How to upload the SVG diagram image in Grafana in Windows?
Beauce all our development computers are no internet (Security reason some company no internet on development computers) and cannot copy the contents and paste them into the “SVG document” box.
Can I upload the SVG file in Grafana in Windows, please???
Where to put my SVG file? I found a folder in the following:
C:\Program Files\GrafanaLabs\grafana\data\png\
PS: if I develop the dashboard on a computer with the internet copy the contents and paste them into the “SVG document” box., how to import it to my development computer, please?
I have installed SVG, ACE.SVG, HTML graphics, and Status Panel plugins in Windows.
I created an SVG diagram image file with Inkscape, saved it as “plain SVG”. How to upload the SVG file in Grafana in Windows?
Where to put my SVG file? I found a folder in the following:
You need to load the SVG file into a dashboard panel created using one of the plugins you mentioned (e.g. ACE SVG). Check out the plug-in docs for details.
ACE.SVG (which I’d recommend) doesn’t use SVG builder AFAIK. Either way, both plugins allow you to paste in your own SVG.
For ACR, you can open your SVG file in a text editor (Notepad? It’s been a while since I’ve used Windows…), then copy the contents and paste them into the “SVG document” box in the panel settings in Grafana.
@svetb Thank you. Beauce all our development computers are no internet (Security reason some company no internet on development computers) and cannot copy the contents and paste them into the “SVG document” box.
Can I upload the SVG file in Grafana in Windows please???
Where to put my SVG file? I found a folder in the following:
C:\Program Files\GrafanaLabs\grafana\data\png\
PS: if I develop the dashboard on a computer with the internet copy the contents and paste them into the “SVG document” box., how to import it to my development computer, please?
I’m sorry @emmaluk I don’t think I can help further.
I don’t really understand your set-up, but it’s clearly unusual. I also think it’s fair to say that working with SVGs in Grafana (after the original loading of the graphic into a dashboard) can be quite a complex undertaking - so if you’re already encountering this level of difficulty with initial setup, it might not be the right tool for the job you’re trying to accomplish.
I’m sorry again. Maybe there’s someone else here who has better advice.
@svetb@ulrichc I have uploaded the SVD diagram in Grafana in Windows. Can I ask the second question How to Display values on top of the SVG diagram image in Grafana 7.0 in Windows?
For instance, suppose I have two boxes. with the simplest type of data source, I have a binary decision: ok box = ok (green)/down (red) down = ok (green)/down (red)
This isn’t an answer to your question (I don’t have one), but for the use case that you describe, why don’t you just use the Grafana stat panel? Seems like a far simper solution than trying to replicate the functionality in a custom SVG…