yAxis: { name: 'bpm', //关键代码 nameTextStyle: { //关键代码 padding: [30, 0, 0, -30], }, type: 'category', // 添加参考线 true 清楚参考线false "splitLine":{ show:true }, // 两边是否留空白 boundaryGap: false, // y轴的数字 data: ["50","60","70","80","90"] },