plotly / plotly/plotly.js

[FEATURE]: Make auto-zoom when panning out of range optional

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

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

Từ ngày 11/2/2026.

feature
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ả

Description

Currently if e.g. a scatter plot chart has a range set, and the user uses the panning option over the range, the panning becomes a zooming too.
This behavior could be optional, set by configuration.

Why should this feature be added?

In some charts it can be unclear what is happening when panning around the edge. Especially if the zoom level is so high that not a single datapoint is visible at the moment. In this case the panning could become an infinite task if the user is not aware of what is actually happening.
Also in some cases it could be a more clear indication of the fact the there is a range set.

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.

Đánh giá

Issue này chưa được đánh giá.

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.