apache / apache/echarts

ToolBox Can‘t Switch Magic Type

Open
#13,688 8 comments 0 reactions 0 assignees View on GitHub
bug topic: toolbox
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version
4.2.0-rc.2

### Steps to reproduce
#### Step1:The toolbox config is:
```
toolbox:{
show:true,
orient:'vertical',
feature: {
dataView: {
readOnly: false
},
magicType: {
type: ["line", "bar"]
},
restore: {},
saveAsImage: {}
}
}
```
#### Step2:Click data view,than click refresh

#### Step3:The line,bar,restore button can't work

### What is expected?
The line,bar,restore can work

### What is actually happening?
The line,bar,restore button can't work

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.