-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed
Labels
new-featurependingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.
Description
What problem does this feature solve?
是否有方法将颜色设置为conic-gradient形式?
我在使用中并没有找到设置的方法,只能用canvas画一个然后放到color里。
What does the proposed API look like?
设置color:
{
type: 'conic',
a: 0,
x: 0.5,
y: 0.5,
colorStops: [{
offset: 0, color: 'red'
}, {
offset: 1, color: 'blue'
}],
global: false
}或者使用渐变色构造函数:
echarts.graphic.ConicGradientReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
new-featurependingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.