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 2022/01/07 12:10:42 UTC

[GitHub] [echarts] plainheart edited a comment on issue #16344: [Bug] 在svg渲染模式下,渐变修改colorStops.offset的顺序为[1,0]时,反向渐变效果不显示

plainheart edited a comment on issue #16344:
URL: https://github.com/apache/echarts/issues/16344#issuecomment-1007351882


   You should always follow the order from smallest to largest. Please refer to the [notes on gradient stops](https://www.w3.org/TR/SVG2/pservers.html#:~:text=Each%20gradient%20offset,previous%20offset%20values.) from W3C,
   
   > Each gradient offset value is required to be equal to or greater than the previous gradient stop's offset value. If a given gradient stop's offset value is not equal to or greater than all previous offset values, then the offset value is adjusted to be equal to the largest of all previous offset values.


-- 
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: commits-unsubscribe@echarts.apache.org

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