apache / apache/echarts

[Bug] Map has unwanted dots when setting legend option

Open
#20,464 1 comment 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.5.1

### Link to Minimal Reproduction

https://codepen.io/HugeHugh/pen/qBeYbQB

### Steps to Reproduce

1. in the JS of Codepen example, go to line 34 and remove the comment marker so that `legend: { show: false }` is active
2. Notice that blue dots appear on every state

### Current Behavior

Blue dots appearing on every state when using any option inside "legend" suboption

### Expected Behavior

Do not want these dots on every state

### Environment

```markdown
- OS: Winders
- Browser: Chroam
- Framework: Angulare
```

### Any additional comments?

Sometimes, we want to use Legend feature, but we never want these dots on each state.

Side note: another thing I noticed, that when you go to any echarts Map example, then you push the link to open in Codepen or Codesandbox, the Maps examples always fail because of CORS error when requesting the Geo json file async. As a workaround, I just pasted the UsaJson into my Codepen for this bug report.

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.