Skip to content

enable hover spike across multiple plots #6137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
joshuakoh1 opened this issue Mar 12, 2022 · 4 comments
Open

enable hover spike across multiple plots #6137

joshuakoh1 opened this issue Mar 12, 2022 · 4 comments
Labels
feature something new P3 backlog

Comments

@joshuakoh1
Copy link

Hello,

Is there a way to have a spike across multiple independent plots on hover?

I have 3 plots with the same y-axis values and I would like to trigger the hover spike across all plots when hovering on any of the plots.

Thanks!

@seanwessmith
Copy link

same question!

@ddubrava
Copy link

ddubrava commented Dec 4, 2022

Hey! https://plotly.com/javascript/reference/layout/yaxis/

const layout = {
  xaxis: {
    showspikes: true,
    spikemode: 'across',
  },
};

@seanwessmith
Copy link

Howdy, this doesn't show the values when you hover.

@ddubrava
Copy link

ddubrava commented Dec 5, 2022

This does https://codepen.io/maio93/pen/OQxoZx (#2114) but It doesn’t work with a spike (at least in my case)

@gvwilson gvwilson self-assigned this Jul 4, 2024
@gvwilson gvwilson removed their assignment Aug 2, 2024
@gvwilson gvwilson changed the title Hover spike across multiple plots? enable hover spike across multiple plots Aug 9, 2024
@gvwilson gvwilson added feature something new P3 backlog labels Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P3 backlog
Projects
None yet
Development

No branches or pull requests

4 participants