Announcing Dash Bio 1.0.0 🎉 : a one-stop-shop for bioinformatics and drug development visualizations.

How to link showspikes between graphs?

I’m attempting to replicate a feature in Grafana dashboards called “Shared Tooltip”. The plotly option for showspikes replicate the behavior I’m looking for on a single graph but I’m unsure how to carry that over to other graphs.

At the moment I have I create graphs like so:

graph_type = 'graph'
fig = px.line(
          lap_data,
          x='elapsed_distance_m',
          y=point_value,
          color='lap_id',
          hover_data=['lap_id', 'lap_number', point_value])
        fig.update_xaxes(showspikes=True)
        fig.update_yaxes(fixedrange=True)
        fig.update_layout(hovermode="x unified")
      graph = dcc.Graph({'type': graph_type,
                         'index': point_values.index(point_value)},
                        figure=fig,

Actual code can be found here.

Hi,

I think you are referring to this feature, which is not yet available in Plotly.