-
Notifications
You must be signed in to change notification settings - Fork 19.8k
3D散点图使用渐变色 #10095
Copy link
Copy link
Closed
Labels
pendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.
Metadata
Metadata
Assignees
Labels
pendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.
Type
Fields
Give feedbackNo fields configured for issues without a type.
What problem does this feature solve?
可以在二维散点图中使用渐变色,而在3D散点图中失效,如何在3D散点图中使用呢?
What does the proposed API look like?
itemStyle: {
normal: {
shadowBlur: 10,
shadowColor: 'rgba(120, 36, 50, 0.5)',
shadowOffsetY: 5,
color: new echarts.graphic.RadialGradient(0.4, 0.3, 1, [{
offset: 0,
color: 'rgb(251, 118, 123)'
}, {
offset: 1,
color: 'rgb(204, 46, 72)'
}])
}
}