You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "delphi-sucks (via GitHub)" <gi...@apache.org> on 2024/09/18 08:40:35 UTC
[I] [Bug] Stacked Bar chart with value/number x-axis doesn't stack [echarts]
delphi-sucks opened a new issue, #20355:
URL: https://github.com/apache/echarts/issues/20355
### Version
5.5.1
### Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=bar-negative&version=5.3.0&code=PYBwLglsB2AEC8sDeBYAULTsBEAPAgrhAM7YBcy6WW2AJgIZj3mwDaAjAEwC6VWAvgBo-mbAE9CJFkiEicxAKYAnCAtIVWc6qgzU9osGJAKW2AEb0l2Ybv3U6jZhq13qm2689cbn37ABs7C6-3D5-ocF62MRMAMYA1qbMYfqyHtqR9obGphZWKZ4OTCzufnqlZXbemX4AzAAcNfoR6XYtZdFxiRTYyZH8crxo_EA
### Steps to Reproduce
Create a chart with the following options with atleast echarts v5.3.0:
```json
{
"xAxis": {
"data": [12]
},
"yAxis": {},
"series": [
{
"type": "bar",
"data": [
[
12,
61
],
],
"stack": "a",
},
{
"type": "bar",
"data": [
[
12,
38
],
],
"stack": "a",
}
]
}
```
### Current Behavior
The Bars overlap and each series starts at 0.

### Expected Behavior
The Bars should be stacked.

### Environment
```markdown
- OS: Windows 11
- Browser: Chrome 128.0.6613.138
- Framework:
```
### Any additional comments?
The Bug exists since version 5.3.0.
It still worked with version 5.2.2.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] Stacked Bar chart with value/number x-axis doesn't stack [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #20355:
URL: https://github.com/apache/echarts/issues/20355#issuecomment-5800543763
setting ```xAxis: { type:'category' }``` fixes it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] Stacked Bar chart with value/number x-axis doesn't stack [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #20355:
URL: https://github.com/apache/echarts/issues/20355#issuecomment-5736236523
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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] Stacked Bar chart with value/number x-axis doesn't stack [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #20355:
URL: https://github.com/apache/echarts/issues/20355#issuecomment-2359141900
duplicate of #16765 and others, [PR pending](https://github.com/apache/echarts/pull/19653).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org