-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Open
Labels
bugpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.
Description
Version
5.5.0
Link to Minimal Reproduction
options:{ ...省略 toolbox: { feature: { magicType: { type: ['stack', 'tiled'], }, dataView: { show: false }, }, }, series: [ { stack:‘one’, ...省略 }, { stack:‘one’, ...省略 } ] }
Steps to Reproduce
options:{
...省略
toolbox: {
feature: {
magicType: {
type: ['stack', 'tiled'],
},
dataView: { show: false },
},
},
series: [
{
stack:‘one’,
...省略
},
{
stack:‘one’,
...省略
}
]
}
Current Behavior
初始化ercharts时,

数据默认stack都是one,一致的,但是此处按钮提示却是切换堆叠,应该显示切换平铺才对。这样会导致点击两次之后才能达到想要的效果。
Expected Behavior
数据默认stack都是one,一致时,切换按钮应该显示切换平铺。
Environment
No response
Any additional comments?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.