Replace Legend Value with Text


Please see the image below. My query returns a numeric value for the graph. In my database, some of these values resolve to a string, for example a “Status” of 6 might be CIP. Is there a way that I can have the legend display this text value instead of the numeric value?

Thanks in advance,