Add reverse options to waffleY and waffleX

Ouverte
#273 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

@tannerlinsley y travaille déjà.

Depuis le 20/11/2026.

  • #274 par @tannerlinsley — ouverte

Évaluation

Difficulté
2/5
Temps estimé
1-3 heures
Accessibilité débutants
25/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
À l'abandon
Stack technique
d3, react, typescript

Piste de recherche

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.

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

Description

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.

Langage dominant
TypeScript
Étoiles
870
Forks
57
Merge moyen
11 h 58 min
PR mergées (30 j)
18

Préparer son environnement

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.

Autres issues de TanStack/charts

Toutes les issues de TanStack/charts

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

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