Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support that some region selectable:false in geo. #14712

Open
100pah opened this issue Apr 19, 2021 · 0 comments · Fixed by #15534
Open

Support that some region selectable:false in geo. #14712

100pah opened this issue Apr 19, 2021 · 0 comments · Fixed by #15534
Labels
en This issue is in English new-feature
Milestone

Comments

@100pah
Copy link
Member

100pah commented Apr 19, 2021

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?

option = {
    geo: {
        // regions '1A' and '15B' can not be selected.
        regions: [{
            name: '1A',
            selectable: false
        }, {
            name: '15B',
            selectable: false
        }
    }
};
@echarts-bot echarts-bot bot added en This issue is in English new-feature labels Apr 19, 2021
@100pah 100pah added this to the 5.2.0 milestone Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
en This issue is in English new-feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant