{ type: 'line', ..... endLabel: { show: true, offset: [-18, -10], color: '#ff0000', fontSize:14, formatter: (params) => { return '趋势线' } }, }