-
Notifications
You must be signed in to change notification settings - Fork 786
New issue
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
请问如何在设置draw: 'grid'的情况下,可以根据count设置不同栅格的颜色。 #245
Comments
请问解决了吗 |
同问,data中fillStyle不起作用 |
请问有解决方案吗? 我需要通过值区间来设置对应颜色,gradient无法结局 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在draw: 'category'的情况下,可根据count去设置splitList的展示颜色,我希望可以控制每一个网格级别的颜色,但count值似乎与gradient没关系,应该怎么去做?😣
其实就是想根据阈值自定义栅格颜色,现在 draw: 'grid' 的时候,只可以设置
gradient: {
0.25: "rgba(0,0,255,0.6)",
0.55: "rgba(0,255,0,0.6)",
0.85: "rgba(255,255,0,0.6)",
1.0: "rgba(255,0,0,0.6)"
},
怎么去自定义gradient的值呢?
The text was updated successfully, but these errors were encountered: