series:[
{
name:'已接入溯源企业数',
type:'line',
data: _this.yAxisSuyuan,
showSymbol:false, //关闭线上默认的圆点
symbolSize: 25, //设置圆点的大小
itemStyle:{
normal:{
color: {
type: 'linear',
x: 0,
y: 0,
x2: 1,
y2: 1,
colorStops: [{
offset: 0, color: 'rgba(17, 99, 247, 1)' // 0% 处的颜色
}, {
offset: 1, color: 'rgba(3, 195, 233, 1)'// 100% 处的颜色
}],
global: false
},
},
echarts 鼠标经过时圆点样式emphasis
最新推荐文章于 2024-05-31 15:36:56 发布