add unit to legend