How to adjust my timezone between "Generated SQL" and charts?

Hello, everyone, I found a problem when using GRAFANA to do the data chart. I found that the time queried in “Generated SQL” is not the same as the timeline on the chart. This also means that I want to query. The data does not match my chart. How can I adjust my time?
P.s. I have tried to adjust the time zone of GRAFANA, obviously this will not solve my problem.