plotly / plotly/plotly.js

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

Aberta
#7,705 4 comentários 0 reações 1 responsável Ver no GitHub

@BarnT já está trabalhando nisso.

Desde 11/2/2026.

feature
Linguagem predominante
JavaScript
Estrelas
18.3k
Forks
2k
Merge médio
2d 12h
PRs com merge (30d)
28

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.