Bar Gauge : How to show Series name from a query's row value (MySQL)?

I’m using v7.0.6 and struggling with Bar Gauge.

My query is super simple.
SELECT mode,count(job) FROM info WHERE $__timeFilter("time") GROUP BY mode

This gives the expected plot but all items are named count. Then, I try to modify using the Display name option under Field, but using any name causes the plot to show “No Data”. If I call it “Count”, the plot says “m is undefined”. I’m at a loss here on how to get this working.

Edit:
I created a new panel and things seem to be working now. Another post suggests using ${__series.name} for Grafana v7+ but that didn’t work for me. I’m using ${__cell_0} and it works.