Add reverse options to waffleY and waffleX

Đang mở
#273 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@tannerlinsley đang làm issue này rồi.

Từ ngày 20/11/2026.

  • #274 của @tannerlinsley — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
d3, react, typescript

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
870
Fork
57
Merge trung bình
11 giờ 58 phút
Pull request đã merge (30 ngày)
18

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TanStack/charts

Tất cả issue của TanStack/charts

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.