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 2021/01/26 08:31:08 UTC

[GitHub] [echarts] realeve opened a new issue #14122: 饼图 selected 功能失效

realeve opened a new issue #14122:
URL: https://github.com/apache/echarts/issues/14122


   ### Version
   5.0.1
   
   ### Steps to reproduce
   [https://echarts.apache.org/examples/zh/editor.html?c=pie-simple](https://echarts.apache.org/examples/zh/editor.html?c=pie-simple)
   ```js
   option = { 
       series: [
           {
               name: '访问来源',
               type: 'pie',
               radius: '50%',
               data: [
                   {value: 1048, name: 'a'},
                   {value: 735, name: 'b'},
                   {value: 580, name: 'c'},
                   {
                       value: 484, 
                       name: 'd',
                       selected:true
                   }, 
               ], 
           }
       ]
   };
   ```
   ![image](https://user-images.githubusercontent.com/448208/105819845-b39c7900-5ff3-11eb-8d72-1731fa559953.png)
   
   
   ### What is expected?
   饼图选中后,对应的项分离出来
   
   ### What is actually happening?
   
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


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

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


[GitHub] [echarts] echarts-bot[bot] commented on issue #14122: 饼图 selected 功能失效

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14122:
URL: https://github.com/apache/echarts/issues/14122#issuecomment-767386198


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe our [mailing list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


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

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


[GitHub] [echarts] realeve closed issue #14122: 饼图 selected 功能失效

Posted by GitBox <gi...@apache.org>.
realeve closed issue #14122:
URL: https://github.com/apache/echarts/issues/14122


   


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

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


[GitHub] [echarts] realeve commented on issue #14122: 饼图 selected 功能失效

Posted by GitBox <gi...@apache.org>.
realeve commented on issue #14122:
URL: https://github.com/apache/echarts/issues/14122#issuecomment-767515560


   @pissang  测试通过,感谢!
   
   ```js
   option = { 
       series: [
           {
               name: '访问来源',
               type: 'pie',
               radius: '50%',
               selectedMode: 'single',
               data: [
                   {value: 1048, name: 'a'},
                   {value: 735, name: 'b'},
                   {value: 580, name: 'c'},
                   {
                       value: 484, 
                       name: 'd',
                       selected:true
                   }, 
               ], 
           }
       ]
   };
   ```


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

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


[GitHub] [echarts] pissang edited a comment on issue #14122: 饼图 selected 功能失效

Posted by GitBox <gi...@apache.org>.
pissang edited a comment on issue #14122:
URL: https://github.com/apache/echarts/issues/14122#issuecomment-767395983


   @realeve 好像是因为现在逻辑需要设置`selectedMode: 'single'`才能开启选中模式


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

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


[GitHub] [echarts] pissang commented on issue #14122: 饼图 selected 功能失效

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #14122:
URL: https://github.com/apache/echarts/issues/14122#issuecomment-767395983


   @realeve 好像是因为现在逻辑需要添加 `selectedMode: 'single'`才能开启选中模式


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

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