toolbox : magic Option 'stack' resets the title for all magic-toolbox options
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
4.9.0
### Reproduction link
[https://echarts.apache.org/examples/en/editor.html?c=line-marker](https://echarts.apache.org/examples/en/editor.html?c=line-marker)
### Steps to reproduce
Visit the example page.
For the toolbox.magic option, set the title Option
`magicType: {
type: ['line', 'bar', 'stack'],
title: {
line: 'Line Chart',
bar: 'Bar Chart',
stack: 'Gestapelt'
}
},
Click on the 'Stack' icon to change the bar chart from tile view to stack view.
Hover on the other icons on the toolbox, say 'Bar'.
The title is being reset!
### What is expected?
The title of the toolbox icons should remain text value.
### What is actually happening?
They are changed to default values
Contributor guide
Assessment
This issue has not been assessed yet.