The issue has been closed
请问regionFilter可以设置填充渐变色吗, 设置style填充不生效


chart.annotation().regionFilter({
top: true,
start: [1700, 'min'],
end: [1753, 'max'],
color: 'l(0) 0:#ffffff 0.5:#7ec2f3 1:#1890ff', // 👈🏻
apply: ['area'],
});
关于渐变色的写法,参考文档这里。
posted by hustcc over 2 years ago