Changing the legend names


Is there anyway to change the names of the legends in the visualization in kibana 3

Thank you.

Lucky provided more detail on the use case in this private message (not sure if others can access it):

The question is - when doing a terms aggregation on an integer field, can you change the values from 1, 2, 3, etc.. to a human-readable label. My advice would be to do this mapping at index time using the Logstash translate filter and do the terms aggregation on the string instead. Make sure to set the mapping for the string to "not analyzed".