helgasoft commented on issue #21025:
URL: https://github.com/apache/echarts/issues/21025#issuecomment-2963377638

   @plainheart, thank you for clarifying. Certain details are still obscure 
though. 
   [legend](https://echarts.apache.org/en/api.html#action.legend) has 6 types 
of action. Which ones are defined for series **name** and which ones for legend 
components with **legendIndex** (id, name) ?
   I did a 
[Test](https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoWtJgDYFMBcysAzgK4BGYOAHmAQOS4DmO0AJgJJvUA0sTLHVgDoRdWAF9uaDMGBZIIAkknSqAQSoQiSjAE8Q-WHQDGAQ0qNgAJ11iV6XRq1L7sVudNEctZNPRFgEitjQwBtP3RYUIAGXgBGWNgAJiTeAGY0gF0pSMjQuN4kgFZ41OSk7Ij0ULK0ktgM-LjK3Oq03gAWeriANniAThbW0I7CgA5C0dhBiMzpV342AnDcpFgIVjw6CDi6XmhTAFt8Omhd3ncwU2WkA-OttTpJZDuTgCEn7NgrCEYAC1odA6SQApE8cpE1hsthAkntYK8ttA4RcPDdEXQAMKfXg_f6AlJg1xDLw_HDaKIRVCtPQGehkUxWPZVBFHQx0R4Q3I4Q4gP6eZyECCUQ4AZTAulwOmMcms9CsOFYdgkEVc6GprQldKMDKZXMiiKMH316B5fIFFKhIvFksMaxlWDlRgVSokKtyat8NK17N1zJphqx_taZv5REFVp5NqlhAdTroIAg0AA1srxKqIXNxABuFAoLxgAAqEGOgTAAAoAGYkaDGSAwWDlgCUXtgAHo23wcMw2LAZbyYCwwNppIddJj-VYwEJWFoQOZjH81HWoNBy2sffRFhxoAA3HBWLyinC4Ovw7fsTbbXYSJvZ9Ad4DJ0fjyfT2dEedgRfL-trjf6OyF57geR4njgZ68MBrDUAQcS3vej7PugY4Toy75zguS4rjA660kB3YCGoWBYMep5gOehFsAAcmySI3uId65EhL5oVOM6Yd-2F_nhm5GNuACq0BkRBFFQVRO4wVQBDRAhzGdtRADyrFvhxn5Yb-q68YBW4SSJkFdj2ggwnCck0h2sBKSp6FqV-P44f--G6UZhbAIwjC4PpYmGQIl4mXYTEWUpvCmL2rDAOS6xgL
 
AhymMmODECwXgAPzSBZ26isYVhyFgCLANFlBEJQrDSGlnakhA5J4NZ7EfnZ3FaQB2oMHp4EGYG2JmfJsBPjVGHqVxmm4U1BFGUJXnwoGjxde2na9Shr42XVGkOdpzXbq57meW13mBh8ZkWb1zxxCdd5AA)
 and the results are:
     _legendAllSelect_ and _legendInverseSelect_ work for legend components
     _legendSelect_, _legendUnSelect_, _legendToggleSelect_ do **not** 
seem to work for legend components
     _legendScroll_ not tested
   Maybe adding some code examples like [this 
one](https://github.com/apache/echarts/blob/9afb1c4d313258fcbf7b400c6738c13d8984f6b5/test/hoverStyle2.html#L212)
 will help.
   
   BTW, _legendName_ assumes a legend name, but _name_ is missing in [legend API
   ](https://echarts.apache.org/en/option.html#legend)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to