inquiry about how to skip blank x axis data of line chart

Hello I programmed Line chart, Time series
Source Link : https://codepen.io/hjkwon/pen/VwrwZvr

I would like to hide some time series X-Axis points such as Empty Data
like image blew

what should i do?
I need your some tips on this matter

thank you