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

 

相关文章:

  • 2022-01-26
  • 2021-10-21
  • 2022-12-23
  • 2022-02-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-14
  • 2022-12-23
  • 2022-12-23
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
  • 2022-02-10
相关资源
相似解决方案