I am displaying data using HTML graphics plugin. I implemented a toggle switch for customization. My problem is I can not read the value of the toggle in grafana.
you can see the toggle here, it works perfectly: Open the console and you will see the boolean value returning from the toggle.
If I copy the code to my grafana, for some reason I can not read the boolean value in the console, the value is always null.
Normally you use document.querySelector to get the class in the HTML and then play with it in your code, for some reason I can not get that class (Which is in my HTML code).