plotly / plotly/plotly.js

Bounding box does not persist

Ouverte
#6,702 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

feature P3
Langage dominant
JavaScript
Étoiles
18.3k
Forks
2k
Merge moyen
2 j 12 h
PR mergées (30 j)
28

Description

Using plotly.js users are able to select and manipulate data; however in all use cases for the application that is currently being developed -- users want to see the area that the mouse has selected in the plots without changing the nature of the individual plot points.

  • Users do not want individual data points to change in shape / color / opacity when selected. We have tried many variations on this using Plotly-provided hooks on both the selected AND unselected points but users are steadfast that they do not approve of this workaround.
  • One approach we have tried is to make the non-selected data points fade slightly for visual emphasis - however fading them significantly has led to pushback. The users have communicated that the data points NOT selected should remain unchanged.
  • Users would like a persistent box that they have drawn around the data points to remain visible on the plot whenever selections are present. This 'bounding box' should remain around the selected markers and behave appropriately when scrolling, zooming in/out, or resizing the graph.
Screenshot 2023-08-10 at 12 09 37 PM
  • Consistency would mean an outline as well for the 'draw'/'lasso' selection:
Screenshot 2023-08-10 at 12 09 58 PM

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Aucun fichier, test ou point d’entrée n’est indiqué. Commencez par localiser le rendu des sélections dans Plotly.js ainsi que le comportement utilisé lors du défilement, du zoom et du redimensionnement, puis déterminez comment un contour de sélection persistant pourrait être spécifié et testé pour les sélections box et lasso.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript
Domaine
data-visualization, frontend
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
30/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.