-
Notifications
You must be signed in to change notification settings - Fork 19.6k
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
selectorLabel 是否支持 修改emphasis样式? #11623
Comments
Hi! We've received your issue and please be patient to get responded. 🎉 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 questions. If you are interested in the project, you may also subscribe our mail list. Have a nice day! 🍵 |
Is your problem the same as #11480? |
no, different problems. |
It supports, you can modify it like below: legend: {
selector: true,
selectorLabel: {
color: 'yellow',
borderColor: 'green',
backgroundColor: 'blue'
},
emphasis: {
selectorLabel: {
backgroundColor: 'red'
}
},
} I am so sorry, I forget to add it to the doc. |
Version
4.4.0
Steps to reproduce
echarts自带的 selector: [
{
type: 'all',
title: '全选',
},
{
type: 'inverse',
title: '反选'
}
],
修改selectorLabel样式, 但是鼠标悬浮时,会有灰色的背景色, 无法更改
What is expected?
目前是否支持修改selectorLabel在鼠标悬浮状态下的样式?
是否有相关说明?
What is actually happening?
尝试过修改emphasis等属性,均未实现修改背景色样式.
The text was updated successfully, but these errors were encountered: