-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Click script example #19
Comments
I think you could create a Grafana variable. This variable would store a color and would be used in your script to style a specific element. You could then update this variable when the chart is clicked. |
I defined a Grafana variable "test" and I can use-it from "Script" section with From click script section it doesn't work. |
You can try this : window.updateVariables({query:{'var-yourVariableName':'yourVariableValue'}, partial: true}) |
Thank you, it works! |
Is it possible that the script executed when the chart is clicked to update the object returned by the initial script like changing colors.
The text was updated successfully, but these errors were encountered: