Add reverse options to waffleY and waffleX

Abierto
#273 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@tannerlinsley ya está trabajando en esto.

Desde el 20/11/2026.

  • #274 de @tannerlinsley — abierto

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
d3, react, typescript

Línea de trabajo

Read the waffleY and waffleX chart implementations and their option definitions to see how each chart determines fill direction. Add options to reverse the directions described in the issue, and check the existing chart examples or tests to confirm both orientations work. Pull request #274 is already open for this issue.

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

Descripción

The waffleY and waffleX charts only fill one direction they fill in and there are no options to invert either direction despite the default directions not being ubiquitous.

waffleY initially fills bottom->top:

image

It's not that common. All the y-waffle plotly examples, the visualizing.org examples, and the CDC examples are top->bottom. It's not nonexistent, waffleY can be used to make this chart.

waffleX fills bottom up after filling left->right.

image

All the x-waffle plotly examples fille left->right then fill top->bottom. Though waffleX can be used to make this chart.

Lenguaje dominante
TypeScript
Estrellas
870
Forks
57
Merge medio
11 h 58 min
PR fusionados (30 d)
18

Preparar el entorno

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.

Más de TanStack/charts

Todos los issues de TanStack/charts

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.