dirslashls opened a new issue #15102:
URL: https://github.com/apache/echarts/issues/15102
### Version
5.1.1
### Steps to reproduce
Use the following in the editor
```js
option = {
xAxis: {
type: 'value',
data: [1,2,3,4,5,6,7]
},
yAxis: {
type: 'value'
},
"legend": {
"show": true,
"type": "scroll",
"padding": 5,
"selector": [
"all",
"inverse"
],
"top": 5
},
series: [{
name: "a",
data: [120, 200, 150, 80, 70, 110, 130],
type: 'bar',
stack: 'one'
}, {
name: "b",
data: [120, 200, 150, 80, 70, 110, 130],
type: 'bar',
stack: 'one'
}]
};
```
### What is expected?
I expected to see a stacked bar chart.
### What is actually happening?
It shows only one of the two series.
---
Just change the type from 'value' to 'category' for xAxis and everything is
good.
<!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
<!-- This issue is in English. DO NOT REMOVE -->
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]