apache / apache/echarts

Support that some region selectable:false in geo.

Open
#14,712 0 comments 0 reactions 0 assignees View on GitHub
en new-feature
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?
When making a seatmap, some seats has been taken by others so they can not be selected.
It would be great to provide an option to support that some regions can not be selected but others can be selected.

### What does the proposed API look like?
```js
option = {
geo: {
// regions '1A' and '15B' can not be selected.
regions: [{
name: '1A',
selectable: false
}, {
name: '15B',
selectable: false
}
}
};
```

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.