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

【echarts使用】之选中状态(默认不显示置灰) #16

Open
yihan12 opened this issue Jul 27, 2022 · 0 comments
Open

【echarts使用】之选中状态(默认不显示置灰) #16

yihan12 opened this issue Jul 27, 2022 · 0 comments
Labels
【echarts使用】 echarts使用

Comments

@yihan12
Copy link
Owner

yihan12 commented Jul 27, 2022

图例选中状态表。

legend:{
    selected: {
        // 选中'系列1'
        '系列1': true,
        // 不选中'系列2'
        '系列2': false
    }
}

使用

legend: {
    show: true,
    selected: {
      '1星': true, '2星': true, '3星': true, '4星': false, '5星': false
    },
    bottom: 0
},
@yihan12 yihan12 added the 【echarts使用】 echarts使用 label Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
【echarts使用】 echarts使用
Projects
None yet
Development

No branches or pull requests

1 participant