apache / apache/echarts

pie chart works with geo, but not with series type 'map'

Open
#20,413 0 comments 0 reactions 1 assignee Claimed by @plainheart View on GitHub
en new-feature topic: geo topic: map
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

[Demo](https://echarts.apache.org/examples/en/editor.html?code=LYTwwgFghgTgLgOgM4QPYHcAyqoBMCWAdgOYAUAlANwBQAJAsQKZykBKA8uwCoD6ACgEEuACQAEAalEByAPS4ocKDKhIkzGU1QyAqgGUBCAFZJUhKQBpRAMwCuhAMZx8p0aRtIoAKROFyogN7UoqKM9tDwSAgwjMT4SHCMMACyUAAOpFJ6Ahai7l4-loHBwQIANioA1lAAXAFBxcGljFZwtQC0AIwAzB3m9Q1wqKm1AEwArH0Nwej4uHAQtR1j_aIAvpPFwlDoUPj4tUVTTS3tHR0ADBsDQ6MAHFfFM3MLossN6ytSfDaJg6Ks-HsqCkBxWjWarVEbQA7AA2B7BQbDUQjeFg0RPeajFareqrKj1WwOJwuGBQQi4VDAPj4Ri6RK0pCkeyMQgJGCWMkEdx-Q7BIGEeKieSKUQAXlEAG0pNlLFIAEI5KRgJUAESkAF0EMA0qRSHA_GKAHx1KaiaJwGwwQims2iABuUFKP1qKXmUVQdlwpDdECi5MpwAoogAVKILudyAjioQoMBGLVlQoYqgYCBpBJRHB0asaO8CQ0LVabXzinAQKkE9JUrSLOigamCLGEroQPFGMBE5o62bBqhSk5kaWGlZUzq4OzE_4AEarA72Vaufy4VYAUnIUhz0fK08YpVBdtEKAwtSsTrUW_RO73mCIVeHxWP6FP58Yl7N5Pw4-chFVVoUP61Jc6Jcvg7jRiybKJNGIpQDieZrPUQwkjaEqljIGiMKgBw6simT6DkMA4J2WYwD8ayWKIGGiOwADSGL4PMnpwKIuFHgyjBICsfYDvgQ4fA0TRMBSBwCY-HFILUkrov4WYVgmUi4TkuGJlkhHEbUcBkYwFEgQGVI0nSEmkJKbS3GMCDnB0tznBMohdLcCBjAALCM0IAJwapYSxRnpFIGbS9IwIyJmdB0sIIOZXRjOczmWF07mRV5KJjOQKwaniCGgJAsCIBAsyMNgeBEGQBaseA4SIGocDsKkKGkMhP4EvilBAA)

### Steps to Reproduce

see Demo or replace _geo_ with series ```{ type:'map', map:'USA'}``` in [official example](https://echarts.apache.org/examples/en/editor.html?c=map-usa-pie)

### Current Behavior

2D maps could be defined with _geo_, or with series type _map_, or with both.
Pie charts can be positioned on _geo_ maps, but **do not show up** on _map_ series alone.

### Expected Behavior

Since both _geo_ and _map_ series have the same coordinate system, users would expect pies to work with both.
If this isn't true, then it should be at least mentioned in the API docs.

### Environment

```markdown
- OS:
- Browser:
- Framework:
```

### Any additional comments?

_No response_

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.