Simplifying legend text positioning