Echarts xAxis displays names only on both sides

broken line chart, to get the data of the current time and 00:00 on the same day, how to set up xAxis, you can display "00:00" at the origin of the coordinate axis, and the current time, such as "18:22", at the top on the right side of the x-axis. Other times in the green box in the figure do not appear

Feb.09,2022

you can configure xAxis.axisLabel.formatter as a callback function that returns an empty string
such as

when the value passed in during the callback is not equal to the start or end value.
formatter:function(val){
    if(val == '' || val == ''){
        return val
    }
    else {
        return ''
    }
}

reference

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-1e5ced7-65d02.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-1e5ced7-65d02.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?