-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed as not planned
Labels
enhancementstaleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.
Description
Version
5.3.0
Link to Minimal Reproduction
No response
Steps to Reproduce
color渐变色配置:
areaStyle: {
opacity: 0.5,
color: {
type: 'linear',
x: 0,
y: 0,
x2: 0,
y2: 1,
colorStops: [
{
offset: 0,
color: 'rgb(254 134 22 / 20%)',
},
{
offset: 1,
color: '#fff',
},
],
},
},Current Behavior
colorStops里color写法 rgb(254 134 22 / 20%)会报错,改成rgba(254 134 22 / 20%)就好了

Expected Behavior
支持 rgb(254 134 22 / 20%)写法
Environment
- OS:
- Browser:
- Framework:Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
enhancementstaleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.