Skip to content

how can i set the legend text color when not selected in echarts  #16293

@d-kishorekumar

Description

@d-kishorekumar

What problem does this feature solve?

if user want to see different / custom color on legend when its in disabled or in-active

What does the proposed API look like?

legend: {
    data: [
         {
          name: 'Email',
          textStyle: {
              color:['red', 'green']
             }
         }
      ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enThis issue is in Englishnew-featurependingWe are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.waiting-for: community

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions