1、渐变色面积自定义折线颜色不显示折线点
series: [
{
data: [820, 932, 901, 934, 1290, 1330, 1320],
type: 'line',
areaStyle: {
opacity: 0.8,
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{
offset: 0,
color: 'rgba(108, 155, 165,1)'
},
{
offset: 1,
color: 'rgba(111, 111, 111,0)'
}
])
},
symbol: "none",//小圆点,如果要修改颜色,用color:#xxxxxx属性
lineStyle:{
normal:{
color:"#999999",
width:2,
}
}
}
]