plotly / plotly/plotly.js

Bounding box does not persist

Abierto
#6,702 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

feature P3
Lenguaje dominante
JavaScript
Estrellas
18.3k
Forks
2k
Merge medio
2 d 12 h
PR fusionados (30 d)
28

Descripción

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

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

No se menciona ningún archivo, prueba ni punto de entrada. Empieza por localizar el renderizado de selecciones de Plotly.js y el comportamiento utilizado al desplazarse, hacer zoom y cambiar el tamaño; después, determina cómo podría especificarse y probarse un contorno de selección persistente para las selecciones de tipo box y lasso.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript
Área
data-visualization, frontend
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.