You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The chart columns overflow the grid area for a stacked bar chart with logarithmic Y axis #10374
Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.
In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.
I can confirm this.
I am having the same issue with the horizontal stacked bar.
I have added this line to my grid so that i can see that my bar goes bigger than the grid.
If i found out correctly, the chart does not calculate the maximum value of all stacked bars.
First i added this to my xAxis max: 'dataMax'
And the layout was broken again.
Then i manually calculated the sum of all my bars and added this: max: 14.05
With the latter, my stacked bar looks correct like it should.
My temporaray solution: calculate the sum of all values in a variable and add that variable like this: max: myItemsSum
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
Activity
echarts-bot commentedon Apr 27, 2019
Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.
In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.
Have a nice day! 🍵
ciukstar commentedon May 3, 2019
qroft commentedon May 3, 2019
I can confirm this.

I am having the same issue with the horizontal stacked bar.
I have added this line to my grid so that i can see that my bar goes bigger than the grid.
qroft commentedon May 3, 2019
If i found out correctly, the chart does not calculate the maximum value of all stacked bars.
First i added this to my xAxis
max: 'dataMax'And the layout was broken again.
Then i manually calculated the sum of all my bars and added this:
max: 14.05With the latter, my stacked bar looks correct like it should.
My temporaray solution: calculate the sum of all values in a variable and add that variable like this:
max: myItemsSumgithub-actions commentedon Sep 7, 2021
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
github-actions commentedon Sep 15, 2021
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!