VolkovLabs / volkovlabs-dynamictext-panel

Business Text Panel for @grafana
https://docs.volkovlabs.io
Apache License 2.0
78 stars 14 forks source link

Change dashboard variable from Panel #215

Closed pjJedi closed 8 months ago

pjJedi commented 9 months ago

I was wondering if it is possible to change the dashboard variable from a Panel. So lets say I have 3 variables South Africa, USA, Canada. And I want to choose South Africa only, is there a way to do that?

mikhail-vl commented 8 months ago

@pederjohnJedi To update dashboard variable we created a special panel: https://volkovlabs.io/plugins/volkovlabs-variable-panel/. It may work better for your use case.

To update variables you can use locationService:

locationService.partial({ from: fromValue });