I’m having a problem with a Grafana variable not refreshing inside the plugin.
Grafana variable (example-var): queries an influx db, returning a value that refreshes on time range change. Works ok in Grafana dashboard or in the SVG panel title field.
ACE SVG plugin, User JS Render Code:
// update the SVG text field with the Grafana variable
document.getElementById(‘text-id’).textContent = $example-var
The Grafana variable is not updating inside the plugin on dashboard time range change. It only updates on page reload.
No console errors
Grafana v10.4.2 (docker), ubuntu
Appreciate any comments or suggestions.
Thanks