I am using the Stat panel to display info coming from my weather station. Currently I am using value mappings to take wind readings in degrees and mapping them to direction example:
0 = North, 180 = South etc etc
I am trying to see how can I do something similar but with images example:
0 = MyNorthImage.png, 180 = MySouthImage.png.
It also reports the signal strength of the different beacons and want to show a signal strength image in the same fashion.
My additional question:
If there is a way to do this, can you point to a image file on the local disk i.e. /home/user/images/MyNorthImage.png or does it have to be a URL like http://www.someurl.com/MyNorthImage.png.
Sounds like you really need some sort of CompassStat plugin, showing an arrow pointing to the appropriate direction.
Interesting idea, and maybe something I might build one of these days. I’m tied up for the next couple of months so maybe someone else wants to knock this out.
Just went through it I guess I could use the hand with the finger pointing in a direction but would of thought there was a simpler way to do it based on a value specify a image to show.
You could consider one of the SVG plugins - e.g. ACE.SVG plugin for Grafana | Grafana Labs. It might be overkill for your use case, but in theory it wouldn’t be too difficult to do what you want. You could even use a single image (or shape) and apply a rotation based on the angle.