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 2020/02/03 09:45:22 UTC

[GitHub] [incubator-echarts] nieyt opened a new issue #12125: Does the pie chart support default set one of them to enlarge, like the hover enlarge style

nieyt opened a new issue #12125: Does the pie chart support default set one of them to enlarge, like the hover enlarge style
URL: https://github.com/apache/incubator-echarts/issues/12125
 
 
   ### What problem does this feature solve?
   I know that { selected: true} may like this, but it just protruding, not enlarge
   
   ### What does the proposed API look like?
      data: [
                   {value: 335, name: '直接访问', enlarge: true},
                   {value: 310, name: '邮件营销'},]
   
   <!-- 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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] alex2wong closed issue #12125: Does the pie chart support default set one of them to enlarge, like the hover enlarge style

Posted by GitBox <gi...@apache.org>.
alex2wong closed issue #12125: Does the pie chart support default set one of them to enlarge, like the hover enlarge style
URL: https://github.com/apache/incubator-echarts/issues/12125
 
 
   

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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12125: Does the pie chart support default set one of them to enlarge, like the hover enlarge style

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12125: Does the pie chart support default set one of them to enlarge, like the hover enlarge style
URL: https://github.com/apache/incubator-echarts/issues/12125#issuecomment-581325630
 
 
   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 questions.
   
   If you are interested in the project, you may also subscribe our [mail 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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] alex2wong commented on issue #12125: Does the pie chart support default set one of them to enlarge, like the hover enlarge style

Posted by GitBox <gi...@apache.org>.
alex2wong commented on issue #12125: Does the pie chart support default set one of them to enlarge, like the hover enlarge style
URL: https://github.com/apache/incubator-echarts/issues/12125#issuecomment-584179055
 
 
   @nieyt do you mean: https://www.echartsjs.com/examples/en/editor.html?c=doc-example/pie-highlight
   
   you can highlight one item by dispatching 'highlight' event 

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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] alex2wong commented on issue #12125: Does the pie chart support default set one of them to enlarge, like the hover enlarge style

Posted by GitBox <gi...@apache.org>.
alex2wong commented on issue #12125: Does the pie chart support default set one of them to enlarge, like the hover enlarge style
URL: https://github.com/apache/incubator-echarts/issues/12125#issuecomment-591887697
 
 
   close it since inactivity

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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] alex2wong edited a comment on issue #12125: Does the pie chart support default set one of them to enlarge, like the hover enlarge style

Posted by GitBox <gi...@apache.org>.
alex2wong edited a comment on issue #12125: Does the pie chart support default set one of them to enlarge, like the hover enlarge style
URL: https://github.com/apache/incubator-echarts/issues/12125#issuecomment-584179055
 
 
   @nieyt do you mean: https://www.echartsjs.com/examples/en/editor.html?c=doc-example/pie-highlight
   
   you can highlight one item by dispatching 'highlight' action.
   pls refer to: https://www.echartsjs.com/en/tutorial.html#Events%20and%20Actions%20in%20ECharts

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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] pnk0006 commented on issue #12125: Does the pie chart support default set one of them to enlarge, like the hover enlarge style

Posted by GitBox <gi...@apache.org>.
pnk0006 commented on issue #12125:
URL: https://github.com/apache/incubator-echarts/issues/12125#issuecomment-748735429


   pieChart.dispatchAction({type:'highlight',seriesIndex: 0,dataIndex: 0});
   
   // PieChart Highlight the Large Value
       pieChart.on('mouseover',function(e){
       pieChart.dispatchAction({type:'downplay',seriesIndex: 0,dataIndex:0}); 
           if(e.dataIndex != index){            
               pieChart.dispatchAction({type:'downplay', seriesIndex: 0, dataIndex: index });     
           }
           if(e.dataIndex == 0){
               pieChart.dispatchAction({type:'highlight',seriesIndex: 0,dataIndex:e.dataIndex});
           }
       });
       //When the mouse leaves, set the current item as selected 
       pieChart.on('mouseout',function(e){
           index = e.dataIndex;
           pieChart.dispatchAction({type:'highlight',seriesIndex: 0,dataIndex: e.dataIndex});    
       });


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