Overriding the annotations popover


#1

Hi,

I’d like to be able to override the contents of the annotation popup on a graph. I’ve taken a look through most of the example plugins but can’t see any that modify this. I’m pretty new to angular & grafana so am very curious if this is even possible.

Any light you could shed here would be great!

Thanks,

Steve.


#2

looking at this a little further, It’d likely be enough for me to be able to know that the annotation was selected and then I could render what I need in a separate panel. I see that flot events get shared between the graph panels as they all render the red selection line at the same point in the graph. Would it be possible to react to the annotation being selected in a similar fashion?


#3

there is no plugin hook to modify this


#4

Thanks Torkel, Any pointers as to how I might detect the click to display the annotation and react to it in a different panel?