Is there a way to get rid of the gaps on figure when the time field of data contains gaps?

As is shown in the following:


I have tried dots, line interpolation, setting time range, but none of them can achieve what I want.