The date format of your xkey (day) is not good, this is rather a string than a real date.
You have 2 choices:
- change the format of the xkey to be a real date (like 2021-01-01 instead of Jan 1)
- set the option parseTime to false, so that it won't try to format the string to be a date
In case you change the format of xkey, you still can change the way the date is displayed thanks to the function dateFormat (see the documentation for this here: http://morrisjs.github.io/morris.js/lines.html)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…