`mirror: "all"`: spurious ticks
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 18.3k
- Fork
- 2k
- Merge trung bình
- 2 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 28
Mô tả
The documentation of mirror states that:
If "all", axis lines are mirrored on all shared-axes subplots. If "allticks", axis lines and ticks are mirrored on all shared-axes subplots.
I.e., from what I gather mirror: "all" should not put any tick marks but merely draw a line. Presently, however, it does put tick marks on the mirrored axis of the first subplot (or even solitary plot).
Previously, a variant of this was noted in #4136 where mirror: "all" would behave like mirror: "allticks". This was addressed in #4140, but the fix seems only to have addressed part of the issue, however. Specifically:
| Example | Behavior | |
|---|---|---|
| Before #4140 (v1.49.3) | https://codepen.io/thchr/pen/yLbpowE | Ticks on all mirrored axes |
| After #4140 (v1.49.4 and later) | https://codepen.io/thchr/pen/qBmpXge | Ticks on mirrored axis of first subplot |
What I thought expected behavior would be is this (i.e. tick on no mirrored axis; only the left-most non-mirrored y-axis of the first subplot):

Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Tái hiện hành vi bằng cách sử dụng các ví dụ CodePen được liên kết và so sánh mirror: "all" với mirror: "allticks" trên các subplot dùng chung trục. Truy dấu hành vi phản chiếu trục chịu trách nhiệm cho subplot đầu tiên, sau đó xác minh rằng mirror: "all" vẽ các đường được phản chiếu mà không có dấu tick, trong khi trục dự kiến không được phản chiếu vẫn giữ các tick của nó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript
- Lĩnh vực
- data-visualization
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100