Skip to content

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

Open
@yihan12

Description

@yihan12

图例选中状态表。

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

使用

legend: {
    show: true,
    selected: {
      '1星': true, '2星': true, '3星': true, '4星': false, '5星': false
    },
    bottom: 0
},

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions