Interacting with Grafana panel from sibling custom IFrame

Hi There,

I’ve been experimenting with adding custom panels (HTML in a text field), and I’m wondering if there is any way to drive a change in a Grafana panel from an action in the custom panel. Simple case, imagine a dropdown list in the custom panel, and the selection of an item changes which graph is displayed in the Grafana panel*. In the custom frame the event handler can catch the event and use HTML postMessage to send the message over the the Grafana panel, but is there any provision for the Grafana panel to catch the message an effect a change? Alternatively, is there any way to get scope visibility into a Grafana variable to achieve the same effect?


*the actual concept is more involved, but fundamentally this is the aim