How to grab mouse click from graph panel

Oh yes, that is absolutely fine for your plugin.

I thought though that this question was about listening to events from the graph panel which is core Grafana - so I’m not sure how you would add an ng-click to the graph panel from your plugin code?