Showing Human Readable Part of Variables in Legend

When using variables, you can have the UI name different from the value name stored.

However the legend uses the value name, not the UI name.

Eg, I am using MySQL, and I have 20 columns. I have a variables query that gets a list of the column names with a human readable version.

So in the variables drop down, I see the human readable version, and it fetches the select data using the actual value.

However the legend shows the value, not the human readable version.

Is there some way to get the legend to show the human readable text?

Thanks