Add ellipse overflow to legend for long names

Add ellipse overflow to legend for long names