plotly / plotly/plotly.js

hovermode + spikemode all the time

Offen
#2,026 10 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

feature P3
Vorherrschende Sprache
JavaScript
Sterne
18.3k
Forks
2k
Ø Merge
2 T. 12 Std.
Gemergte PRs (30 T.)
28

Beschreibung

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)

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginnen Sie mit dem Lesen des verlinkten plotly.js-Issues #1959 und der Beschreibung dieses Issues zum Verhalten von hovermode und spikemode. Vergleichen Sie die angeforderten stets sichtbaren X-Achsen-Spike-Linien und Endbeschriftungen mit dem beigefügten Screenshot und bestimmen Sie anschließend die vorgesehene Interaktion und die Abnahmekriterien, bevor Sie das relevante Diagrammverhalten lokalisieren.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
data-visualization
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.