We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我看到文档中有一个colorCallback,可以让用户自定义颜色,请问怎么让线条支持几种颜色渐变呢
The text was updated successfully, but these errors were encountered:
可以使用canvas原生的渐变色方法createLinearGradient,具体使用可以参考这个示例:https://antv.alipay.com/g2-mobile/demo/02-line/line-html.html
Sorry, something went wrong.
@ch-daisy OK,我试下
No branches or pull requests
我看到文档中有一个colorCallback,可以让用户自定义颜色,请问怎么让线条支持几种颜色渐变呢
The text was updated successfully, but these errors were encountered: