plotly / plotly/plotly.js

Boxplot has horizontal axis ticks overlap axis title

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

Chưa có ai nhận issue này.

bug P2
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ả

While zooming in and dragging a categorical boxplot, I got in a state where the longer labels of the horizontal axis, that are displayed in an angle, overlap the horizontal axis title. To get to this state, one has to zoom in so that only shorter labels are displayed oblique, then drag the plot so that a long label appears in the corner of the plot, without getting over the axis title. I noticed that the title moves upper when I leave my mouse button. Then click to drag again until the longer label is over the axis title.
If from step 1 I drag more so that the longer label is over the axis title, and I release the mouse button, the plot moves a bit up so that the label does not overlap the title.

Step 1: zoom in to only see short labels:
Image

Step 2: drag to the right to make a long label appear on the left:
Image
notice the title moved upper (this is important in order to reproduce) instead of staying on the bottom of the div

Step 3: drag to the right so that the long label overlaps the title
Image

From step 1, if you drag directly to a position similar to step 3, you'll get into a state where there is no overlap:
Image

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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.

Hướng nghiên cứu

Bắt đầu bằng việc tái hiện tương tác với boxplot phân loại bằng chuỗi thu phóng và kéo ba bước của issue, đặc biệt là lần nhả chuột ở giữa làm tiêu đề dịch lên trên. Kiểm tra hành vi bố cục của nhãn trục và tiêu đề boxplot liên quan đến chuỗi này; công việc được xem là hoàn tất khi các nhãn dài, nghiêng trên trục ngang không chồng lên tiêu đề trục sau khi kéo, đồng thời đường kéo trực tiếp vẫn chính xác.

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

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.