I’m a user who is making a chart using streamlets in a local environment.
I created a bar chart using go.Bar() in the Plotly package and implemented a tooltip, but often the tooltip does not occur when I put the mouse cursor on the red bar.
What could be the reason?
Also, how do we solve it?
// This is the code we implemented for tooltips.
fig.add_trace(go.Bar(
x=loss_bars[‘timestamp’],
y=y_vals,
marker_color=loss_bars[‘bar_color’],
customdata=loss_bars[‘loss_flag’],
hovertemplate=‘시간: %{x}
loss_flag: %{customdata}’,
width=100000,
showlegend=False
))