Stacked bar chart is not showing all series
See original GitHub issueVersion
4.5.0
Steps to reproduce
Go to https://echarts.apache.org/examples/en/editor.html and use this options:
option = {
"legend": {
"data": ["Geschlossen","Neu","Zugewiesen"]
},
"xAxis": {
"type":"value"
},
"yAxis": {
"type": "category"
},
"series": [
{
"name": "Geschlossen",
"stack": "stack",
"type": "bar",
"data": [4]
},
{
"name": "Neu",
"stack": "stack",
"type": "bar",
"data": [2]
},
{
"name": "Zugewiesen",
"stack": "stack",
"type":"bar",
"data":[4]
}
]
};
What is expected?
There should be a stacked bar that shows the 3 series with the values 4 - 2 - 4
What is actually happening?
There is only one stacked bar with the value 4
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Stacked bar chart not showing all data
I am trying to display data in a stacked bar chart like below that shows the count of incidents by product and application...
Read more >Some data series missing from stacked bar chart - Mr. Excel
I have stacked bar charts in Workbook 1 that show all data plotted correctly. (Even the same data that ends up not showing...
Read more >How to Make Excel Clustered Stacked Column Chart - Data Fix
Right-click on one of the columns, and click Format Data Series · The Format Data Series pane opens, usually at the right side...
Read more >A Complete Guide to Stacked Bar Charts | Tutorial by Chartio
Stacked bar charts extend the standard bar chart by dividing each bar into multiple subcategories. Learn how to best use this chart type...
Read more >Stacked Bar Chart not showing all series in Kendo UI for jQuery
Hi, I am building a stacked bar chart with three series. I am fetching the data from a remote service and binding to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@susiwen8 Because the type of yAxis is
category
, theyAixs.data
is needed.It’s not very clear what you expected!May you can add
yAxis.data: ["Geschlossen","Neu","Zugewiesen"]
and hope this example helps you!