plotly / plotly/plotly.R

event_data("plotly_hover") not triggering for full range of 3D surface

Offen
#1,345 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

shiny
Vorherrschende Sprache
R
Sterne
2.7k
Forks
641
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I have a 3D space comprising four surfaces added as traces using add_surface. I hope to link these to a subplot using event_data("plotly_hover") (or event_data("plotly_click") ).

These events trigger correctly over some of the range of the surface, between x = 15 and 38 inclusive, but not the full range.

A more detailed description of the problem, including screengrabs showing event_data() working correctly and incorrectly, is provided here, along with a reproducible code example.

The desired use case for this feature is shown in the last two tabs of the app deployed here. The aim is in effect to perform 'tomography' on the surfaces along the age (x), year (y) and birth cohort axes (y-x). Within the range over which event_data triggers correctly this works really well.

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

Beginne mit dem reproduzierbaren Codebeispiel in der verlinkten Stack Overflow-Frage und vergleiche event_data("plotly_hover") und event_data("plotly_click") über den gesamten add_surface-Bereich hinweg. Als erledigt gilt die Aufgabe, wenn die Events über alle vier 3D-Oberflächen und den gesamten x-Bereich hinweg konsistent ausgelöst werden, einschließlich Werten außerhalb von x = 15–38.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
r
Bereich
data-visualization
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

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