Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

171
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!