ggplotly tool tip disappearing for some points
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- R
- Estrellas
- 2.7k
- Forks
- 641
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Developing a Shiny app in R3.6.3 with ggplotly version4.9.2.
Plotting a scatter plot from ggplotly with tooltip of each point.
As the tool tip for each point grows larger (more rows), the points toward the top of the graph lose the tooltip even if the tool tip is the same for each point.
If the tooltip is the same, why do some points lose the tool tip and others can display it?
In the code below vary numRows or the size of the plot and points from top towards the bottom lose the tooltip.
numRows = 20
ggiris <- ggplot(data = iris,
aes(x = Petal.Width,
y = Sepal.Length,
color = Species,
text = paste(rep(LETTERS, length.out = numRows), collapse = "<br>"))) +
geom_point()
ggplotly(ggiris, tooltip = "text")
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza ejecutando el ejemplo proporcionado de R ggplotly y varía numRows y el tamaño del gráfico para reproducir los tooltips que faltan. Rastrea cómo ggplotly renderiza contenido grande de tooltip para los puntos cercanos a la parte superior del gráfico; se considera terminado cuando cada punto conserva su tooltip si el texto del tooltip es idéntico.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- r
- Área
- data-visualization
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 42/100