https://blog.csdn.net/u012317188/article/details/77746609
{
type:'bar',
itemStyle: {
normal: {
color: new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#D62436'},
{offset: 1, color: '#E48D96'}
]
)
}},
},
https://blog.csdn.net/u012317188/article/details/77746609
{
type:'bar',
itemStyle: {
normal: {
color: new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#D62436'},
{offset: 1, color: '#E48D96'}
]
)
}},
},