Hoverinfo shows only for the last text

Hi,

I’m having some problem with the text on hover…

this is my example code…
trace1 = go.Bar(
y=[“A”,“A”],
x=[1, 3],
base=[0,2],
name=‘A’,
text=[“INIT”,“END”],
hoverinfo = ‘text’,
orientation = ‘h’
)
trace2 = go.Bar(
y=[“B”,“B”],
x=[2,4],
base=[0,3],
name=‘B’,
text=[“INIT”,“END”],
hoverinfo = ‘text’,
orientation = ‘h’
)

data = [trace1, trace2]
layout = go.Layout(
		barmode='stack'
)

that is what I’m getting… END is showing but INIT not…
Do someone have an idea why only the last text is displayed?

Hi @fgelins,

Does it help if you change to “Show closest data on hover” mode?
Screenshot_20190408_085057

You can do this in your figure specification by setting the layout.hovermode property to 'closest'.

-Jon