Help required to query data in Grafana through influx DB

HI, I have data in Grafana as below.


I wanted to draw trends in Grafana based on the column “LEGO_throughput.Reference” not based on the column “Time”. The column “Time” is coming from influxDB and this time is when i imported data into influx DB. But actual time when these requests hit the server is “LEGO_throughput.Reference”. So can someone please help me how to use “LEGO_throughput.Reference” column to draw trends in Grafana.

Thanks in advance,