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

175
Visualizações
Is there a way to scale x-axis on bar chart (using eCharts) so the 0 is always in the middle?

My problem is that I have a lot of different data displayed on the bar chart on user demand.

This is how the graph looks now.

Graph now

What I want to achieve is to kind of scale the x-axis that way so the 0 is always in the middle of the chart. That way when I change the data and let's say on positive side max value is 20% and negative -60% x-axis 0 won't be on the right side of the chart but rather in the middle of it.

I was checking eCharts documentation but I didn't find any solution. Is there a way to achieve that without changing the series data?

Thanks

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

I'm also facing a similar issue and I would be interested in an implementation example for this solution.

about 4 years ago · Juan Pablo Isaza Relatório
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