I have created the histogram chart with the barmode as ‘overlay’. Now I am adding another addtrace exaclty with the same value with hoverinfo: 'none. Now I am able to see the hoverinfo of the first trace as well. How can I display the hoverinfo of the first trace.
That’s the desired under layout.hovermode: 'closest'
.
You can try using layout.hovermode: 'x'
to see all values for a given x coordinate.
Thank you that worked for me