Graph offset between thermostats and switches

Any idea if I can fix this offset between the two graphs? The switch graph at the top doesn’t follow the “Hours to show”:

image

image