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

   ### What problem does this feature solve?
   
   <pie chart>
   series: [
       {
         type: 'pie',
         radius: '61%',
         center: ['30%', '60%'],
         selectedMode: 'single',
         .
         .
         .
       }
   ]
   
   The pie chart can be adjusted in size by using the radius value in the 
series, and the position can be adjusted by using the center value, right?
   
   <bar chart>
   series: [
       {
         name: 'bar',
         type: 'bar',
         stack: 'one',
         emphasis: emphasisStyle,
         data: data1
       },
       {
         name: 'bar2',
         type: 'bar',
         stack: 'one',
         emphasis: emphasisStyle,
         data: data2
       },
       {
         name: 'bar3',
         type: 'bar',
         stack: 'two',
         emphasis: emphasisStyle,
         data: data3
       },
       {
         name: 'bar4',
         type: 'bar',
         stack: 'two',
         emphasis: emphasisStyle,
         data: data4
       }
     ]
   
   By the way, I wonder if there is no separate option to set the size or 
position in the bar graph.
   
   
   
   
   
   ### What does the proposed API look like?
   
   <pie chart>
   series: [
       {
         type: 'pie',
         radius: '61%',
         center: ['30%', '60%'],
         selectedMode: 'single',
         .
         .
         .
       }
   ]
   
   <bar chart>
   series: [
       {
         name: 'bar',
         type: 'bar',
         stack: 'one',
         emphasis: emphasisStyle,
         data: data1
       },
       {
         name: 'bar2',
         type: 'bar',
         stack: 'one',
         emphasis: emphasisStyle,
         data: data2
       },
       {
         name: 'bar3',
         type: 'bar',
         stack: 'two',
         emphasis: emphasisStyle,
         data: data3
       },
       {
         name: 'bar4',
         type: 'bar',
         stack: 'two',
         emphasis: emphasisStyle,
         data: data4
       }
     ]


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