[TOC]
官方文档关于Y轴配置链接
通过这个设置,可以做到坐标显示只显示整数(设置成1)
yAxis: { type: 'value', minInterval: 1, }
只在数值轴或时间轴中(type : 'value' 或 'time')有效。
官方文档地址:https://echarts.apache.org/zh/option.html#yAxis.minInterval