How to limit the "today" time range from 00:00 - 24:00 hours to 05:00 - 22:00 hours

I would like to use the “today” time range for displaying my solar power production. However I am not interested in the time range between 00:00 - 05:00 and from 22:00 - 24:00. Is there a way to limit the X-Axis in this way so that only the time range from 05:00 - 22:00 is shown for each day ?