grafana-flowcharting
grafana-flowcharting copied to clipboard
Programatically change grafana variable
Hi all,
Is it possible to change the variable programatically? I just want to change one variable in the same page. Then I wouldn't want to reload it or even open a new tab.
https://community.grafana.com/t/how-to-change-a-dashboard-variable-value-from-a-plugin/10107
one way would be to check if relative path is the current dashboard then swap only the variables
notes:
- https://github.com/algenty/grafana-flowcharting/blob/276ca4aa109aa9896cc291b431de7b72b18f79f7/src/partials/mapping/link/index.html
another use case to programatically refresh diagram without needing to refresh the whole page.
when using url mapping it opens on a new tab. even tried <buttononclick=""> but it looks like there's some sanitization
I would love to see this feature as well