Extend plot selection

In graph.ts we have a method called if I select a plot in the graph. In this case I want to fire an event to another panel that show additional information for the selected plot. Is this possible or do I have to implement a plugin doing this myself?