Grafana timing out on graph panel

We are running Grafana version 6.1.6, running on the Linux server. We are pulling data wmi exporter, which exposes a Prometheus running on an open shift.
on dashboard 10 graph panel are there out of three panels is time out
can anyone help me on this issue

Error: 504 gateway timeout (Server didn’t respond)
how to increase the timeout

Thank you