Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

288
Visualizações
Plotly autoscale bug

Hello fellow developers,

I'm having some issues with Plotly in my JavaScript application. I have a graph that is fed with data at a rate of one time per second. Naturally, after some time, the x-axis gets too long, and Plotly decides to show only the last few hundred (I will call it the tail-view). That's totally fine, for if I want to see the whole plot I could just click the Autoscale button.

However, it doesn't seem to be working. i mean, it does work, but only for a second (usually less), and it collapses once again into the tail-view. Since I can't put a video here, I will show it in a sequence of three pictures:

Picture 1 - Tail-view that Plotly creates (with x-axis showing only the previous 500 or so seconds)

Graph before autoscale

Picture 2 - That's the whole-view of the graph right after I click the Autoscale button (this also happens with the Reset Axes button). That's what I want, but the issue is that it only stays that way for a very brief period, usually less than 1 second.

Graph right after autoscale is clicked

Picture 3 - Graph collapsed to tail-view shortly after I click the Autoscale button

Graph back to compressed after less than one second

All that said, I wonder if there's a way to fix this issue. I gave the Autoscale example, but it also happens with Reset Axis, and honestly with any other tool that allows me to zoom in/out and pan through the graph - no matter what I do, it almost immediately collapses into the tail-view again. Is there something I can do about it?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda