legend positioning in multiple locations