Using echarts drawing, how can I scale to an integer without displaying a negative coordinate system?

use echarts to set the scale non-decimal when drawing (set minInterval), but when the data is small, the negative coordinate system will appear:


:


,min0:


:

how can I scale to an integer without showing a negative coordinate system?

Mar.21,2021

the minimum interval size of the axis calculated automatically by yAxis.minInterval / / is set to 1 to ensure that the axis division scale is displayed as an integer

{
    min:0,
    minInterval :1
}

according to the document, this is fine. You can send all the code to take a look at

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8d96d-46f24.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8d96d-46f24.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?