'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.
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
Solution 1:[1]
I'm also facing a similar issue and I would be interested in an implementation example for this solution.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |

