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

是否支持设置某个legend为激活状态 #4013

Closed
lxliang912 opened this issue Jun 29, 2022 · 3 comments
Closed

是否支持设置某个legend为激活状态 #4013

lxliang912 opened this issue Jun 29, 2022 · 3 comments

Comments

@lxliang912
Copy link

lxliang912 commented Jun 29, 2022

貌似没看到有API支持设置某个取消选中的legend设置激活状态,是否有相关API可以调用?

image

@ai-qing-hai
Copy link
Collaborator

chart.legend('city', {
selected: {
London: false,
},
})

@ai-qing-hai
Copy link
Collaborator

@lxliang912
image

@lxliang912
Copy link
Author

chart.legend('city', { selected: { London: false, }, })

好的,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants