Legend does not display filed name if different() used in query

In my dashboard, if I added different() in Query, the filed name would not be displayed in legend, if I have multiple fileds, I have no idea which field to be shown in legend. it is really bothering me. Any solution for it?
BTW, I am using InfluxDB.
here is the snapshot.