Show panel when hovering legend in timeseries?

Hi!
I want a feature for my scenes application but don’t know how to implement it.
I have a time series with multiple lines, and I want to show some configuration(json format mostly) when hovering legend of that time series.

I found onLabelMouseOver function in VizLegendBaseProps, but don’t know how to use it in my scenes application. Is it even possible to achieve it without modifying scenes library?

Please help react & grafana newb… Thanks!