stacked column behavior is strange when the data range is too small.
Using the following option, the echart behavior is so strange as picture:

option = { "legend": { "show": true, "data": ["s1", "s2"] }, "series": [{ "name": "s1", "z": 3, "type": "bar", "data": [{ "value": 0.990566 }, { "value": 0.9756098 }, { "value": 0.9868421 }, { "value": 0.9879518 }], "itemStyle": { "color": "#4F81BD" }, "stack": "s1" }, { "name": "s2", "z": 2, "type": "bar", "data": [{ "value": 0.009434 }, { "value": 0.0243902 }, { "value": 0.0131579 }, { "value": 0.0120482 }], "itemStyle": { "color": "#C0504D" }, "stack": "s1" }], "xAxis": { "show": true, "type": "category", "data": ["a", "b", "c", "d"] }, "yAxis": { "show": true, "type": "value", "max": 1, "min": 0.96, "splitNumber": 8 } };
I have fixed some error in your demo and reproduce a new one, you can see this URL.
I can't see your fixed demo.
This is the new option, you can try it.
option = {
legend: {
show: true,
data: ["s1", "s2"]
},
"series": [
{
"name": "s1",
// "z": 3,
"type": "bar",
"data": [
{
"value": 0.990566
},
{
"value": 0.9756098
},
{
"value": 0.9868421
},
{
"value": 0.9879518
}
],
"itemStyle": {
"color": "#4F81BD"
},
"stack": "total"
},
{
"name": "s2",
// "z": 2,
"type": "bar",
"data": [{
"value": 0.009434
}, {
"value": 0.0243902
}, {
"value": 0.0131579
}, {
"value": 0.0120482
}],
"itemStyle": {
"color": "#C0504D"
},
"stack": "total"
}
],
"xAxis": {
"show": true,
"type": "category",
"data": ["a", "b", "c", "d"]
},
"yAxis": {
"show": true,
"type": "value",
// "max": 1,
// "min": 0.96,
"splitNumber": 8
}
};
Thank you.