How to Exclude Empty Time Periods in Grafana Time Series Graph


I’m currently using Grafana for visualizing my data in a time series graph. My data is collected daily from 9 AM to 3 PM. The next day, data collection continues from 9 AM to 3 PM again. However, when I plot these two sets of data on a time series graph, there is a large gap from 3 PM on the first day to 9 AM on the second day. This is because I don’t collect data during this time period.

My question is: Is there a way in Grafana to only display the time periods where I have data? In other words, can I exclude the time period from 3 PM to 9 AM where I don’t have any data from the time series graph?

Thank you in advance for your help.