Ling310 opened a new issue, #17292:
URL: https://github.com/apache/echarts/issues/17292

   ### What problem does this feature solve?
   
   i need a new function same as api.currentSeriesIndices when pie chart legend 
active changed(eg. api.currentDataIndices) in custom chart.
   I want to draw some extra graphic elements to pie chart, when legend active 
is changed,I wish my custom element colud show or hide at same time.
   
![image](https://user-images.githubusercontent.com/30763334/176412948-da59c22a-d348-4e64-90cc-6cb54a0ff609.png)
   
![image](https://user-images.githubusercontent.com/30763334/176413173-dfd2ce70-7cd6-412a-812f-8d24677042e5.png)
   
   
   
   ### What does the proposed API look like?
   
   if I have three data, draw a pie chart, and this function I 
wish(api.currentDataIndices):
   -  do nothing,  return [0, 1, 2]
   - click first legend item make  it unselect, return [1, 2]
   
   


-- 
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