hovermode + spikemode all the time
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
Hi,
looking for a solution to a chart that I'm doing I got to this link:
https://github.com/plotly/plotly.js/issues/1959
basically, what I want is to display a label at the end of a spikeline instead of the marker (little circle) but also what I want and what was requested on the link above, was to have a way to always have the spike line and display it so the user doesnt have to go to the closes point in order to see the spike line.
here is an image of what I want to achieve:

the lines in the X axis is always there and also it show a label at the end (grey label, not the red one)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked plotly.js issue #1959 and this issue's description of hovermode and spikemode behavior. Compare the requested always-visible X-axis spike lines and end labels with the attached screenshot, then determine the intended interaction and acceptance criteria before locating the relevant chart behavior.
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
- Needs clarification
- Newbie friendliness
- 25/100