Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

165
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda