export legend