Plotting data on x-axis instead of time

I am measuring power and temperature then plotting them on grafana against time. However, I would like to plot power(y-axis) against temperature(x-axis) to see how the temperature affects the power (over time).

How can i do that on Grafana? I dont know if this helps but i am using influxDB.

Thanks

Unfortunately, the current graph panel only supports time as the X-axis.

I think the Plotly plugin can do it.