解决办法:
减少y轴的margion,和格式化y轴
myChart.setOption({ ..., yAxis: { axisLabel: { margin: 2, formatter: function (value, index) { if (value >= 10000 && value < 10000000) { value = value / 10000 + "万"; } else if (value >= 10000000) { value = value / 10000000 + "千万"; } return value; } }, }, series: this.series });