Output legend labels as strings