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

   ### What problem does this feature solve?
   
   是否有方法将颜色设置为conic-gradient形式?
   我在使用中并没有找到设置的方法,只能用canvas画一个然后放到color里。
   
   ### What does the proposed API look like?
   
   设置color:
   ```javascript
   {
     type: 'conic',
     a: 0,
     x: 0.5,
     y: 0.5,
     colorStops: [{
         offset: 0, color: 'red'
     }, {
         offset: 1, color: 'blue'
     }],
     global: false
   }
   ```
   
   或者使用渐变色构造函数:
   ```javascript
   echarts.graphic.ConicGradient
   ```


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