plotly / plotly/plotly.js

hovermode + spikemode all the time

Open
#2,026 10 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,

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:

screen shot 2017-09-19 at 2 58 10 pm

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.