antvis/G2

The issue has been closed
BUG: 数据存在 null 且设置 lineCap: 'round' 以及渐变色 的时候报错 #3109
visiky posted onGitHub
- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
https://riddle.alibaba-inc.com/riddles/b04478ba
Steps to reproduce
https://riddle.alibaba-inc.com/riddles/b04478ba
- 三个条件:数据存在 null,设置
style: { lineCap: 'round' }
且填充色为渐变色 - 报错信息: Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite.
Environment | Info |
---|---|
g2 | 4.1.2 |
System | - |
Browser | - |
<!-- generated by antv-issue-helper. DO NOT REMOVE -->