You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/06/29 10:24:12 UTC

[GitHub] [echarts] Ling310 opened a new issue, #17292: [Feature] add new function same as api.currentSeriesIndices with pie chart legend select, eg. currentDataIndices in custom chart

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: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org