How to change legends name at graph?

Hi guys,
I am using data source: Azure Data Explorer
Grafana Server Version 6.3.4
I have build graph with the avg data for 10 different devices. At the grapg, I have enabled legends but I do not really like the view: avg_value {ID=1},avg_value {ID=2}…
Is it possible to Change somehow?

Thank you