You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/01/30 02:45:35 UTC

[GitHub] lqxlearn commented on issue #9860: I have a feature to request 我需要一个新功能

lqxlearn commented on issue #9860: I have a feature to request 我需要一个新功能
URL: https://github.com/apache/incubator-echarts/issues/9860#issuecomment-458790730
 
 
   var option = {
       legend: {},
       tooltip: {},
      toolbox: {
   				show : true,
   				right:40,
   				feature : {
   					saveAsImage : {show: true,name:'ConferenceReports'}
   				}
   			},
       series: [{
           type: 'pie',
           radius: 60,
           center: ['25%', '30%'],
           data:[41.1, 30.4, 65.1, 53.3, 83.8, 98.7]
           // No encode specified, by default, it is '2012'.
       }, {
           type: 'pie',
           radius: 60,
           center: ['75%', '30%'],
           data:[86.5, 92.1, 85.7, 83.1, 73.4, 55.1],
           encode: {
               itemName: 'product',
               value: '2013'
           }
       }, {
           type: 'pie',
           radius: 60,
           center: ['25%', '75%'],
           encode: {
               itemName: 'product',
               value: '2014'
           },
           data:[24.1, 67.2, 79.5, 86.4, 65.2, 82.5],
       }, {
           type: 'pie',
           radius: 60,
           center: ['75%', '75%'],
           encode: {
               itemName: 'product',
               value: '2015'
           },
           data:[55.2, 67.1, 69.2, 72.4, 53.9, 39.1],
       }]
   };
   
   多表一个下载。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org