legend formatting, position