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/09/22 09:43:08 UTC

[GitHub] [incubator-echarts] czzonet commented on issue #13323: areaStyle区域填充无法使用渐变色

czzonet commented on issue #13323:
URL: https://github.com/apache/incubator-echarts/issues/13323#issuecomment-696616634


   文档里面现在用对象格式[Documentation - Apache ECharts(incubating)](https://echarts.apache.org/zh/option.html#series-line.areaStyle.color)
   
   ```js
   color: {
       type: 'linear',
       x: 0,
       y: 0,
       x2: 0,
       y2: 1,
       colorStops: [{
           offset: 0, color: 'red' // 0% 处的颜色
       }, {
           offset: 1, color: 'blue' // 100% 处的颜色
       }],
       global: false // 缺省为 false
   }
   ```


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