legend for preview charts