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

Parallel diagram: Cannot remove existing visual map via setOption #14515

Closed
dominic-simplan opened this issue Mar 22, 2021 · 2 comments
Closed
Labels
bug en This issue is in English pending We are not sure about whether this is a bug/new feature. waiting-for: community

Comments

@dominic-simplan
Copy link

Version

5.0.2

Reproduction link

https://jsfiddle.net/3opxjg2v/

Steps to reproduce

Open the example at https://jsfiddle.net/3opxjg2v/
Click button "Remove visualMap".

What is expected?

The visual map should be removed and the default color should be shown

What is actually happening?

The visual map is not removed, the lines are still colored


Tried as well with setting visualMap to undefined or to an empty array. Neither did work.

@echarts-bot
Copy link

echarts-bot bot commented Mar 22, 2021

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list.

Have a nice day! 🍵

@echarts-bot echarts-bot bot added bug en This issue is in English pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Mar 22, 2021
@dominic-simplan
Copy link
Author

Just found out that setOption with the default value of notMerge (false) will not remove components according to the documentation. I assume this is the case in the above example, therefore I'll close this issue. Sorry for the inconveniences.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug en This issue is in English pending We are not sure about whether this is a bug/new feature. waiting-for: community
Projects
None yet
Development

No branches or pull requests

1 participant