InfluxDB top query as series mode in Grafana

I am trying to visualize the following influxDB query
SELECT top(userIdCount,source,10) FROM (SELECT count(userId) as userIdCount FROM tuner_events WHERE event=‘1’ GROUP BY source)

From the influxDB command line, I get the following output

name: tuner_events
time top source
---- — ------
0 192 4264
0 191 4366
0 190 4242
0 174 4230
0 173 4212
0 168 4275
0 168 4158
0 165 4419
0 165 4314
0 161 4218

When I use the query in Grafana with x axes as series, I expected to see something like this, instead, I see this. I am a newbie and any help will be appreciated. !