Black Lives Matter. Please consider donating to Black Girls Code today.

Hover data for overlapping graphs

Hi, I was playing around with hover mode, but couldn’t find a solution for my case:

  • I want to achieve similar functionality as ‘closest’, but I would like to see all data for particular point. Issue: if two graphs have the same x and y values (overlapping), it shows hover data only for one graph.

Any ideas how to overcome this issue?

You can try something like https://plot.ly/javascript/hover-events/#coupled-hover-events to start.

@etienne thanks, I’ll have look and hopefully find a solution !