plotly / plotly/plotly.js

add a way to indicate when a point is off the scale

Abierto
#6,759 2 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

New feature request: it would be great if there were a way to hint when a point is off the scale.

  • With bars, it's already possible - the top of the bar has no border. However, this is quite subtle, and perhaps it could be made more obvious that it's truncated, e.g. by making the top few mm of the left and right edges end with dashes and an arrow-tip.
  • With bubbles/scatter points (that are not connected by lines), there is no way to see that a bubble is too high (rather than being omitted because the point is null).
  • This is particularly problematic when the user has manually set the y-axis range, and has cut off a point. (in auto-range mode, points are never missed out).

This might be indicated by showing a "^" at the top of the paper pointing to where the point would be. (such a symbol should also get the hover-text of the associated point).

These indicators should be dynamic - as the axis is zoomed and scrolled. Maybe we need a pref (default on) to turn this off?

Thanks for your consideration - I hope the idea is useful.

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

El issue no nombra archivos ni tests. Empieza siguiendo las rutas de renderizado de bar y scatter/bubble junto con las actualizaciones de zoom y desplazamiento de los ejes; se considera terminado cuando los puntos recortados tienen indicadores claros y dinámicos con el texto de hover asociado, mientras que los puntos nulos siguen siendo distinguibles.

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

Evaluación

Stack tecnológico
javascript
Área
data-visualization
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.