us as.char for legend