flant / grafana-statusmap

Grafana panel plugin to visualize status of multiple objects over time
MIT License
829 stars 43 forks source link

Incorrect Legend treatment - panel don't show legend before first space #273

Open leonsery opened 2 years ago

leonsery commented 2 years ago

After upgrade from 0.4.2 to 0.5.1 legend doesn't show first word before the space - see image: image

Compare legend: configured: first second third fourth showed: second third fourth

When I add 'zero' to the legend leftmost position - it shows 'first' also, but doesn't show 'zero' image

Environment:

peschmae commented 1 year ago

Also happens if you have a label (e.g. {{ monitor_status }}) as Legend. Only the value after the first space is used.

in #277 it's mentioned that adding a space before the label can be used as a workaround.