Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

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

Open
leonsery opened this issue Jul 4, 2022 · 1 comment
Open
Labels
bug Something isn't working

Comments

@leonsery
Copy link

leonsery commented Jul 4, 2022

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:

  • Grafana version: 8.5.1
  • flant-statusmap-panel version: 0.5.1
  • Data source type & version:
  • OS Grafana is installed on: Linux
  • User OS & Browser:
  • Grafana plugins:
  • Others:
@leonsery leonsery added the bug Something isn't working label Jul 4, 2022
@peschmae
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants