How do I display the date range on the echarts x axis when the date range is selected?

clipboard.png
how does the 2018.08.01-2018.08.10 date appear on the x-axis if the date is selected?

Aug.31,2021

data static:

optionxAxisxdata;

data dynamic:

pushxAxisdata

var start_time = '2017-02-02;

var end_time = '2017-03-28';
var bd = new Date(start_time),be = new Date(end_time);
var bd_time = bd.getTime(), be_time = be.getTime(),time_diff = be_time - bd_time;
var d_arr = [];
for(var i=0; i<= time_diff; i+=86400000){
        var ds = new Date(bd_time+i);
        d_arr.push((ds.getMonth()+1)+''+ds.getDate()+'')
}
alert(d_arr);
< hr >

author: ljihe
Source: CSDN
original text: https://blog.csdn.net/ljihe/a.
copyright notice: this article is the original article of the blogger, please attach a link to the blog article to reprint it!

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