plotly / plotly/plotly.js

Spike Line Toggle to stay On-Action

Open
#4,052 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature P3
Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
2d 12h
Merged PRs (30d)
28

Description

Hi, I am finding the toggle spike line feature on plotly very useful, and I am wondering if there could be a feature added to it so that we are able to freeze the spike lines in place (upon a click, or another similar event action). This new feature could be helpful if we have multiple plots in a facet and need to scroll down our page without losing the spike line. This could also be useful to "bookmark" a vertical line in the plot while exploring other data points.

Thanks in advance!

Victor

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing spike line toggle implementation and its interaction or event entry points. Review how spike lines behave across faceted plots and scrolling, then define the click or equivalent action and the behavior for freezing and releasing a line. Done means the behavior is implemented consistently and verified while exploring multiple plots.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.