yAxis: [ { type: 'value', minInterval: 1//只显示整数 } ],
axisLabel: { //保留一位小数 formatter: function (value, index) { return value.toFixed(1); } }