Where does the annotation marker come from?

This seems like a bit of a silly question, but I want to change some of the annotation behaviour and add different markers if possible.


I can see from inspect element that the marker is a div with the “events_marker” class, but I cannot figure out where this is coming from.

I’ve searched the grafana and flot source code, but no mention of this class is made at all except for inside public/app/plugins/panel/graph/jquery.flot.events.ts, where the div is created.

Would someone be able to tell me how it is created, and if I would be able to add a different one?

Thank you

Are you building your own graph panel, or are you trying to change the existing one?

I’m trying to change the existing code